rust/library/core
Guillaume Gomez 26672c93d5
Rollup merge of #129276 - eduardosm:stabilize-char_indices_offset, r=Amanieu
Stabilize feature `char_indices_offset`

Stabilized API:

```rust
impl CharIndices<'_> {
    pub fn offset(&self) -> usize;
}
```

Tracking issue: https://github.com/rust-lang/rust/issues/83871

Closes https://github.com/rust-lang/rust/issues/83871

I also attempted to improved the documentation to make it more clear that it returns the offset of the character that will be returned by the next call to `next()`.
2024-08-23 12:32:15 +02:00
..
benches Reformat use declarations. 2024-07-29 08:26:52 +10:00
src Rollup merge of #129276 - eduardosm:stabilize-char_indices_offset, r=Amanieu 2024-08-23 12:32:15 +02:00
tests Auto merge of #129365 - matthiaskrgr:rollup-ebwx6ya, r=matthiaskrgr 2024-08-22 05:17:27 +00:00
Cargo.toml Cleanup bootstrap check-cfg 2024-06-27 11:30:03 +02:00