]> git.lizzy.rs Git - rust.git/blobdiff - src/tools/clippy/book/src/development/adding_lints.md
Merge commit '7248d06384c6a90de58c04c1f46be88821278d8b' into sync-from-clippy
[rust.git] / src / tools / clippy / book / src / development / adding_lints.md
index da781eb970df7be3ea597eb44a296da1c51813b0..b1e843bc7f4c86173dd8db2893921374abe5d384 100644 (file)
@@ -90,6 +90,7 @@ We start by opening the test file created at `tests/ui/foo_functions.rs`.
 Update the file with some examples to get started:
 
 ```rust
+#![allow(unused)]
 #![warn(clippy::foo_functions)]
 
 // Impl methods