Skip to content

Commit f06d63a

Browse files
Remove redundant comment
1 parent bffc747 commit f06d63a

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,8 +165,6 @@ enum MutblCap {
165165
/// The contained span, if present, points to an `&` pattern
166166
/// that is the reason for the restriction,
167167
/// and which will be reported in a diagnostic.
168-
/// (Said diagnostic is shown only if
169-
/// replacing the `&` pattern with `&mut` would allow the code to compile.)
170168
WeaklyNot(Option<Span>),
171169

172170
/// No restriction on mutability

0 commit comments

Comments
 (0)