1
Fork 0

Fix some missed double spaces.

This commit is contained in:
André Vennberg 2023-01-14 18:23:40 +01:00
parent da3623abab
commit 0e65003c9e
4 changed files with 4 additions and 4 deletions

View file

@ -235,7 +235,7 @@ impl<'tcx> InferCtxtExt<'tcx> for InferCtxt<'tcx> {
/// # Parameters /// # Parameters
/// ///
/// - `def_id`, the `impl Trait` type /// - `def_id`, the `impl Trait` type
/// - `substs`, the substs used to instantiate this opaque type /// - `substs`, the substs used to instantiate this opaque type
/// - `instantiated_ty`, the inferred type C1 -- fully resolved, lifted version of /// - `instantiated_ty`, the inferred type C1 -- fully resolved, lifted version of
/// `opaque_defn.concrete_ty` /// `opaque_defn.concrete_ty`
#[instrument(level = "debug", skip(self))] #[instrument(level = "debug", skip(self))]

View file

@ -193,7 +193,7 @@ pub struct TypeckResults<'tcx> {
pub generator_interior_types: ty::Binder<'tcx, Vec<GeneratorInteriorTypeCause<'tcx>>>, pub generator_interior_types: ty::Binder<'tcx, Vec<GeneratorInteriorTypeCause<'tcx>>>,
/// We sometimes treat byte string literals (which are of type `&[u8; N]`) /// We sometimes treat byte string literals (which are of type `&[u8; N]`)
/// as `&[u8]`, depending on the pattern in which they are used. /// as `&[u8]`, depending on the pattern in which they are used.
/// This hashset records all instances where we behave /// This hashset records all instances where we behave
/// like this to allow `const_to_pat` to reliably handle this situation. /// like this to allow `const_to_pat` to reliably handle this situation.
pub treat_byte_string_as_slice: ItemLocalSet, pub treat_byte_string_as_slice: ItemLocalSet,

View file

@ -469,7 +469,7 @@ impl<'a> Parser<'a> {
/// Try to recover the more general form `intersect ::= $pat_lhs @ $pat_rhs`. /// Try to recover the more general form `intersect ::= $pat_lhs @ $pat_rhs`.
/// ///
/// Allowed binding patterns generated by `binding ::= ref? mut? $ident @ $pat_rhs` /// Allowed binding patterns generated by `binding ::= ref? mut? $ident @ $pat_rhs`
/// should already have been parsed by now at this point, /// should already have been parsed by now at this point,
/// if the next token is `@` then we can try to parse the more general form. /// if the next token is `@` then we can try to parse the more general form.
/// ///
/// Consult `parse_pat_ident` for the `binding` grammar. /// Consult `parse_pat_ident` for the `binding` grammar.

View file

@ -462,7 +462,7 @@ impl InlineAsmRegClass {
} }
/// Returns a suggested template modifier to use for this type and an /// Returns a suggested template modifier to use for this type and an
/// example of a register named formatted with it. /// example of a register named formatted with it.
/// ///
/// Such suggestions are useful if a type smaller than the full register /// Such suggestions are useful if a type smaller than the full register
/// size is used and a modifier can be used to point to the subregister of /// size is used and a modifier can be used to point to the subregister of