]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/get_unwrap.stderr
iterate List by value
[rust.git] / tests / ui / get_unwrap.stderr
index b27bef6d1cc9d65bb80d462feb82398c533ec037..76a098df82aa199adb0186eb098b0e540fc6ba91 100644 (file)
@@ -4,7 +4,7 @@ error: called `.get().unwrap()` on a slice. Using `[]` is more clear and more co
 LL |         let _ = boxed_slice.get(1).unwrap();
    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `&boxed_slice[1]`
    |
-note: lint level defined here
+note: the lint level is defined here
   --> $DIR/get_unwrap.rs:3:9
    |
 LL | #![deny(clippy::get_unwrap)]