@@ -148,7 +148,7 @@ struct LoweringContext<'a, 'hir: 'a> {
148
148
is_collecting_in_band_lifetimes : bool ,
149
149
150
150
/// Currently in-scope lifetimes defined in impl headers, fn headers, or HRTB.
151
- /// When `is_collectin_in_band_lifetimes ` is true, each lifetime is checked
151
+ /// When `is_collecting_in_band_lifetimes ` is true, each lifetime is checked
152
152
/// against this list to see if it is already in-scope, or if a definition
153
153
/// needs to be created for it.
154
154
///
@@ -257,7 +257,7 @@ enum ImplTraitPosition {
257
257
/// Disallowed in `let` / `const` / `static` bindings.
258
258
Binding ,
259
259
260
- /// All other posiitons .
260
+ /// All other positions .
261
261
Other ,
262
262
}
263
263
@@ -363,7 +363,7 @@ enum ParenthesizedGenericArgs {
363
363
/// elided bounds follow special rules. Note that this only covers
364
364
/// cases where *nothing* is written; the `'_` in `Box<dyn Foo +
365
365
/// '_>` is a case of "modern" elision.
366
- /// - **Deprecated** -- this coverse cases like `Ref<T>`, where the lifetime
366
+ /// - **Deprecated** -- this covers cases like `Ref<T>`, where the lifetime
367
367
/// parameter to ref is completely elided. `Ref<'_, T>` would be the modern,
368
368
/// non-deprecated equivalent.
369
369
///
0 commit comments