]> git.proxmox.com Git - rustc.git/blobdiff - src/tools/clippy/clippy_lints/src/if_let_mutex.rs
New upstream version 1.55.0+dfsg1
[rustc.git] / src / tools / clippy / clippy_lints / src / if_let_mutex.rs
index f661f7ede821a6d486a33448eab7c56fd8e106da..5403d76ea30c8774c4f5c64e2b26a73a8821c3ab 100644 (file)
@@ -83,7 +83,7 @@ impl<'tcx> LateLintPass<'tcx> for IfLetMutex {
     }
 }
 
-/// Checks if `Mutex::lock` is called in the `if let _ = expr.
+/// Checks if `Mutex::lock` is called in the `if let` expr.
 pub struct OppVisitor<'a, 'tcx> {
     mutex_lock_called: bool,
     found_mutex: Option<&'tcx Expr<'tcx>>,