Ban index methods on std::str::Chars
#6071
Labels
A-linter
Area - Linter
C-enhancement
Category - New feature or request
good first issue
Experience Level - Good for newcomers
Background:
.chars().enumerate()
with.char_indices()
when index is used in subsequent string slice operations rust-lang/rust-clippy#10202chars_enumerate_for_byte_indices
rust-lang/rust-clippy#13435A quick grep:
The text was updated successfully, but these errors were encountered: