Skip to content

Commit bff287b

Browse files
Remove redundant comment
1 parent d8a798b commit bff287b

File tree

1 file changed

+0
-2
lines changed
  • compiler/rustc_hir_typeck/src

1 file changed

+0
-2
lines changed

compiler/rustc_hir_typeck/src/pat.rs

-2
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,6 @@ enum MutblCap {
163163
/// The contained span, if present, points to an `&` pattern
164164
/// that is the reason for the restriction,
165165
/// and which will be reported in a diagnostic.
166-
/// (Said diagnostic is shown only if
167-
/// replacing the `&` pattern with `&mut` would allow the code to compile.)
168166
WeaklyNot(Option<Span>),
169167

170168
/// No restriction on mutability

0 commit comments

Comments
 (0)