Match unmatched backticks in compiler/ that are part of rustdoc
This commit is contained in:
parent
13471d3b20
commit
ff2c609d66
22 changed files with 23 additions and 23 deletions
|
@ -50,7 +50,7 @@ impl<'tcx> InferCtxt<'tcx> {
|
|||
|
||||
/// Like [Self::canonicalize_query], but preserves distinct universes. For
|
||||
/// example, canonicalizing `&'?0: Trait<'?1>`, where `'?0` is in `U1` and
|
||||
/// `'?1` is in `U3` would be canonicalized to have ?0` in `U1` and `'?1`
|
||||
/// `'?1` is in `U3` would be canonicalized to have `?0` in `U1` and `'?1`
|
||||
/// in `U2`.
|
||||
///
|
||||
/// This is used for Chalk integration.
|
||||
|
|
|
@ -70,7 +70,7 @@ pub enum RegionResolutionError<'tcx> {
|
|||
/// `o` requires that `a <= b`, but this does not hold
|
||||
ConcreteFailure(SubregionOrigin<'tcx>, Region<'tcx>, Region<'tcx>),
|
||||
|
||||
/// `GenericBoundFailure(p, s, a)
|
||||
/// `GenericBoundFailure(p, s, a)`:
|
||||
///
|
||||
/// The parameter/associated-type `p` must be known to outlive the lifetime
|
||||
/// `a` (but none of the known bounds are sufficient).
|
||||
|
|
|
@ -50,7 +50,7 @@ where
|
|||
///
|
||||
/// - Covariant means `a <: b`.
|
||||
/// - Contravariant means `b <: a`.
|
||||
/// - Invariant means `a == b.
|
||||
/// - Invariant means `a == b`.
|
||||
/// - Bivariant means that it doesn't matter.
|
||||
ambient_variance: ty::Variance,
|
||||
|
||||
|
|
|
@ -249,7 +249,7 @@ pub enum VerifyBound<'tcx> {
|
|||
/// in that case we can show `'b: 'c`. But if `'?x` winds up being something
|
||||
/// else, the bound isn't relevant.
|
||||
///
|
||||
/// In the [`VerifyBound`], this struct is enclosed in `Binder to account
|
||||
/// In the [`VerifyBound`], this struct is enclosed in `Binder` to account
|
||||
/// for cases like
|
||||
///
|
||||
/// ```rust
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue