Fix code that now emits unused doc comment warning for expr field

This commit is contained in:
Gurinder Singh 2023-09-03 08:38:17 +05:30
parent 10f4917568
commit a0a71732f9

View File

@ -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,
},
},