Skip to content

Commit 0e65003

Browse files
committed
Fix some missed double spaces.
1 parent da3623a commit 0e65003

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

compiler/rustc_borrowck/src/region_infer/opaque_types.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ impl<'tcx> InferCtxtExt<'tcx> for InferCtxt<'tcx> {
235235
/// # Parameters
236236
///
237237
/// - `def_id`, the `impl Trait` type
238-
/// - `substs`, the substs used to instantiate this opaque type
238+
/// - `substs`, the substs used to instantiate this opaque type
239239
/// - `instantiated_ty`, the inferred type C1 -- fully resolved, lifted version of
240240
/// `opaque_defn.concrete_ty`
241241
#[instrument(level = "debug", skip(self))]

compiler/rustc_middle/src/ty/typeck_results.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ pub struct TypeckResults<'tcx> {
193193
pub generator_interior_types: ty::Binder<'tcx, Vec<GeneratorInteriorTypeCause<'tcx>>>,
194194

195195
/// We sometimes treat byte string literals (which are of type `&[u8; N]`)
196-
/// as `&[u8]`, depending on the pattern in which they are used.
196+
/// as `&[u8]`, depending on the pattern in which they are used.
197197
/// This hashset records all instances where we behave
198198
/// like this to allow `const_to_pat` to reliably handle this situation.
199199
pub treat_byte_string_as_slice: ItemLocalSet,

compiler/rustc_parse/src/parser/pat.rs

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

compiler/rustc_target/src/asm/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ impl InlineAsmRegClass {
462462
}
463463

464464
/// Returns a suggested template modifier to use for this type and an
465-
/// example of a register named formatted with it.
465+
/// example of a register named formatted with it.
466466
///
467467
/// Such suggestions are useful if a type smaller than the full register
468468
/// size is used and a modifier can be used to point to the subregister of

0 commit comments

Comments
 (0)