diff --git a/clippy_lints/src/lib.rs b/clippy_lints/src/lib.rs index e1d7e2e9e2c..053be5d4c26 100644 --- a/clippy_lints/src/lib.rs +++ b/clippy_lints/src/lib.rs @@ -175,10 +175,8 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry) { let mut store = reg.sess.lint_store.borrow_mut(); store.register_removed("unstable_as_slice", "`Vec::as_slice` has been stabilized in 1.7"); store.register_removed("unstable_as_mut_slice", "`Vec::as_mut_slice` has been stabilized in 1.7"); - store.register_removed("str_to_string", - "using `str::to_string` is common even today and specialization will likely happen soon"); - store.register_removed("string_to_string", - "using `string::to_string` is common even today and specialization will likely happen soon"); + store.register_removed("str_to_string", "using `str::to_string` is common even today and specialization will likely happen soon"); + store.register_removed("string_to_string", "using `string::to_string` is common even today and specialization will likely happen soon"); // end deprecated lints, do not remove this comment, it’s used in `update_lints` reg.register_late_lint_pass(box serde::Serde);