diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2024-08-23 12:32:15 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-23 12:32:15 +0200 |
| commit | 26672c93d5417e9760190cf3777459332060a9c1 (patch) | |
| tree | 4060fa6cd01440c763d3df17321f702d46d0da2e /compiler/rustc_pattern_analysis/src | |
| parent | 724f612be8e2216a35d5ff5d193ba4508f892bf0 (diff) | |
| parent | dbad7581348d71822573e906c165bd08c366f196 (diff) | |
| download | rust-26672c93d5417e9760190cf3777459332060a9c1.tar.gz rust-26672c93d5417e9760190cf3777459332060a9c1.zip | |
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()`.
Diffstat (limited to 'compiler/rustc_pattern_analysis/src')
0 files changed, 0 insertions, 0 deletions
