You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|
3 | string.find("\"");
| ^^^^ help: try using a char instead: `'\"'`
|
= note: #[warn(single_char_pattern)] on by default
= help: for further information visit https://rust-lang-nursery.github.io/rust-clippy/v0.0.212/index.html#single_char_pattern
However, the appropriate char to use is '"' without the escape: \.
The text was updated successfully, but these errors were encountered:
Example (playground):
errors with
However, the appropriate char to use is
'"'
without the escape:\
.The text was updated successfully, but these errors were encountered: