@@ -297,7 +297,7 @@ impl<'hir> ConstArg<'hir, AmbigArg> {
297
297
}
298
298
299
299
impl < ' hir > ConstArg < ' hir > {
300
- /// Converts a `ConstArg` in an unambigous position to one in an ambiguous position. This is
300
+ /// Converts a `ConstArg` in an unambiguous position to one in an ambiguous position. This is
301
301
/// fallible as the [`ConstArgKind::Infer`] variant is not present in ambiguous positions.
302
302
///
303
303
/// Functions accepting ambiguous consts will not handle the [`ConstArgKind::Infer`] variant, if
@@ -366,7 +366,7 @@ pub enum GenericArg<'hir> {
366
366
Lifetime ( & ' hir Lifetime ) ,
367
367
Type ( & ' hir Ty < ' hir , AmbigArg > ) ,
368
368
Const ( & ' hir ConstArg < ' hir , AmbigArg > ) ,
369
- /// Inference variables in [`GenericArg`] are always represnted by
369
+ /// Inference variables in [`GenericArg`] are always represented by
370
370
/// `GenericArg::Infer` instead of the `Infer` variants on [`TyKind`] and
371
371
/// [`ConstArgKind`] as it is not clear until hir ty lowering whether a
372
372
/// `_` argument is a type or const argument.
@@ -3041,7 +3041,7 @@ impl<'hir> Ty<'hir, AmbigArg> {
3041
3041
}
3042
3042
3043
3043
impl < ' hir > Ty < ' hir > {
3044
- /// Converts a `Ty` in an unambigous position to one in an ambiguous position. This is
3044
+ /// Converts a `Ty` in an unambiguous position to one in an ambiguous position. This is
3045
3045
/// fallible as the [`TyKind::Infer`] variant is not present in ambiguous positions.
3046
3046
///
3047
3047
/// Functions accepting ambiguous types will not handle the [`TyKind::Infer`] variant, if
0 commit comments