]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/string_extend.fixed
`assertions_on_result_states` fix suggestion when `assert!` not in a statement
[rust.git] / tests / ui / string_extend.fixed
index 3e0581ad8c1271bd1cfa23892d2d5a1ac741212e..1883a9f8325783ecb7949b9d21bf791842c701ff 100644 (file)
@@ -3,7 +3,6 @@
 #[derive(Copy, Clone)]
 struct HasChars;
 
-#[allow(clippy::unused_self)]
 impl HasChars {
     fn chars(self) -> std::str::Chars<'static> {
         "HasChars".chars()