Skip to content

Commit a0a7173

Browse files
committed
Fix code that now emits unused doc comment warning for expr field
1 parent 10f4917 commit a0a7173

File tree

1 file changed

+2
-2
lines changed
  • compiler/rustc_mir_build/src/thir/pattern

1 file changed

+2
-2
lines changed

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -555,8 +555,8 @@ impl<'a, 'tcx> PatCtxt<'a, 'tcx> {
555555
subpattern: pattern,
556556
ascription: Ascription {
557557
annotation,
558-
/// Note that use `Contravariant` here. See the
559-
/// `variance` field documentation for details.
558+
// Note that use `Contravariant` here. See the
559+
// `variance` field documentation for details.
560560
variance: ty::Variance::Contravariant,
561561
},
562562
},

0 commit comments

Comments
 (0)