Skip to content

Commit 50d4943

Browse files
committed
docs: remove stale reference to check_let_chain
The function `check_let_chain` was removed previously, but it was still referenced in a comment in `check_match.rs`. This commit cleans it up.
1 parent 620e36a commit 50d4943

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

compiler/rustc_mir_build/src/thir/pattern/check_match.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,7 @@ struct MatchVisitor<'p, 'tcx> {
101101
error: Result<(), ErrorGuaranteed>,
102102
}
103103

104-
// Visitor for a thir body. This calls `check_match`, `check_let` and `check_let_chain` as
105-
// appropriate.
104+
// Visitor for a thir body. This calls `check_match` and `check_let` as appropriate.
106105
impl<'p, 'tcx> Visitor<'p, 'tcx> for MatchVisitor<'p, 'tcx> {
107106
fn thir(&self) -> &'p Thir<'tcx> {
108107
self.thir

0 commit comments

Comments
 (0)