Skip to content

Commit

Permalink
Fix code that now emits unused doc comment warning for expr field
Browse files Browse the repository at this point in the history
  • Loading branch information
gurry committed Sep 3, 2023
1 parent 10f4917 commit a0a7173
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compiler/rustc_mir_build/src/thir/pattern/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -555,8 +555,8 @@ impl<'a, 'tcx> PatCtxt<'a, 'tcx> {
subpattern: pattern,
ascription: Ascription {
annotation,
/// Note that use `Contravariant` here. See the
/// `variance` field documentation for details.
// Note that use `Contravariant` here. See the
// `variance` field documentation for details.
variance: ty::Variance::Contravariant,
},
},
Expand Down

0 comments on commit a0a7173

Please sign in to comment.