]> git.lizzy.rs Git - rust.git/blobdiff - clippy_lints/src/casts/cast_ref_to_mut.rs
Auto merge of #9870 - koka831:unformat-unused-rounding, r=Jarcho
[rust.git] / clippy_lints / src / casts / cast_ref_to_mut.rs
index d9bf1ea58b97bb8a49ad3ed0588b0ec3c0175146..15f2f81f4079e5b2e88b66809e797f845249c3d1 100644 (file)
@@ -6,7 +6,7 @@
 
 use super::CAST_REF_TO_MUT;
 
-pub(super) fn check(cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>) {
+pub(super) fn check(cx: &LateContext<'_>, expr: &Expr<'_>) {
     if_chain! {
         if let ExprKind::Unary(UnOp::Deref, e) = &expr.kind;
         if let ExprKind::Cast(e, t) = &e.kind;