mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-23 21:23:56 +00:00
Address @ilogiq's nits
This commit is contained in:
parent
c22ded11e5
commit
b1e4b496e1
1 changed files with 4 additions and 1 deletions
|
@ -373,6 +373,9 @@ fn single_char_pattern() {
|
|||
// Not yet testing for multi-byte characters
|
||||
// Changing `r.len() == 1` to `r.chars().count() == 1` in `lint_single_char_pattern`
|
||||
// should have done this but produced an ICE
|
||||
//
|
||||
// We may not want to suggest changing these anyway
|
||||
// See: https://github.com/Manishearth/rust-clippy/issues/650#issuecomment-184328984
|
||||
x.split("ß");
|
||||
x.split("ℝ");
|
||||
x.split("💣");
|
||||
|
|
Loading…
Reference in a new issue