From e09805e8ca8a88d1450d145d9221223142b1928e Mon Sep 17 00:00:00 2001 From: HMPerson1 Date: Thu, 18 Jan 2018 17:33:09 -0500 Subject: [PATCH] Use `unit_expr` --- clippy_lints/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clippy_lints/src/lib.rs b/clippy_lints/src/lib.rs index 3f2ae888bc07..8b2da4641a22 100644 --- a/clippy_lints/src/lib.rs +++ b/clippy_lints/src/lib.rs @@ -248,7 +248,7 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry) { "using `string::to_string` is common even today and specialization will likely happen soon", ); store.register_removed( - "is_unit_expr", + "unit_expr", "superseded by `let_unit_value` and `unit_arg`", ); // end deprecated lints, do not remove this comment, it’s used in `update_lints`