diff options
| author | Oliver Schneider <git-no-reply-9879165716479413131@oli-obk.de> | 2018-03-28 15:24:26 +0200 |
|---|---|---|
| committer | Oliver Schneider <git-no-reply-9879165716479413131@oli-obk.de> | 2018-03-28 15:24:26 +0200 |
| commit | d6344c47e3bf8e1c1bc4dea52841d0a1f83b4fa4 (patch) | |
| tree | 96291a0cee775e57d285eca3df4d90771b8293f2 /clippy_lints/src/explicit_write.rs | |
| parent | ef9fdbb8a9a3321a0d2261a0b6a013c23e2f669b (diff) | |
Categorize all the lints!
Diffstat (limited to 'clippy_lints/src/explicit_write.rs')
| -rw-r--r-- | clippy_lints/src/explicit_write.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clippy_lints/src/explicit_write.rs b/clippy_lints/src/explicit_write.rs index 7ea96cabfac..bad5bbd8422 100644 --- a/clippy_lints/src/explicit_write.rs +++ b/clippy_lints/src/explicit_write.rs @@ -15,9 +15,9 @@ use utils::opt_def_id; /// // this would be clearer as `eprintln!("foo: {:?}", bar);` /// writeln!(&mut io::stderr(), "foo: {:?}", bar).unwrap(); /// ``` -declare_lint! { +declare_clippy_lint! { pub EXPLICIT_WRITE, - Warn, + complexity, "using the `write!()` family of functions instead of the `print!()` family \ of functions, when using the latter would work" } |
