File tree 4 files changed +4
-4
lines changed
rustc_borrowck/src/region_infer
4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -235,7 +235,7 @@ impl<'tcx> InferCtxtExt<'tcx> for InferCtxt<'tcx> {
235
235
/// # Parameters
236
236
///
237
237
/// - `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
239
239
/// - `instantiated_ty`, the inferred type C1 -- fully resolved, lifted version of
240
240
/// `opaque_defn.concrete_ty`
241
241
#[ instrument( level = "debug" , skip( self ) ) ]
Original file line number Diff line number Diff line change @@ -193,7 +193,7 @@ pub struct TypeckResults<'tcx> {
193
193
pub generator_interior_types : ty:: Binder < ' tcx , Vec < GeneratorInteriorTypeCause < ' tcx > > > ,
194
194
195
195
/// 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.
197
197
/// This hashset records all instances where we behave
198
198
/// like this to allow `const_to_pat` to reliably handle this situation.
199
199
pub treat_byte_string_as_slice : ItemLocalSet ,
Original file line number Diff line number Diff line change @@ -469,7 +469,7 @@ impl<'a> Parser<'a> {
469
469
/// Try to recover the more general form `intersect ::= $pat_lhs @ $pat_rhs`.
470
470
///
471
471
/// 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,
473
473
/// if the next token is `@` then we can try to parse the more general form.
474
474
///
475
475
/// Consult `parse_pat_ident` for the `binding` grammar.
Original file line number Diff line number Diff line change @@ -462,7 +462,7 @@ impl InlineAsmRegClass {
462
462
}
463
463
464
464
/// 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.
466
466
///
467
467
/// Such suggestions are useful if a type smaller than the full register
468
468
/// size is used and a modifier can be used to point to the subregister of
You can’t perform that action at this time.
0 commit comments