@@ -297,7 +297,7 @@ impl<'hir> ConstArg<'hir, AmbigArg> {
297297}
298298
299299impl < ' 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
301301 /// fallible as the [`ConstArgKind::Infer`] variant is not present in ambiguous positions.
302302 ///
303303 /// Functions accepting ambiguous consts will not handle the [`ConstArgKind::Infer`] variant, if
@@ -366,7 +366,7 @@ pub enum GenericArg<'hir> {
366366 Lifetime ( & ' hir Lifetime ) ,
367367 Type ( & ' hir Ty < ' hir , AmbigArg > ) ,
368368 Const ( & ' hir ConstArg < ' hir , AmbigArg > ) ,
369- /// Inference variables in [`GenericArg`] are always represnted by
369+ /// Inference variables in [`GenericArg`] are always represented by
370370 /// `GenericArg::Infer` instead of the `Infer` variants on [`TyKind`] and
371371 /// [`ConstArgKind`] as it is not clear until hir ty lowering whether a
372372 /// `_` argument is a type or const argument.
@@ -3004,7 +3004,7 @@ impl<'hir> Ty<'hir, AmbigArg> {
30043004}
30053005
30063006impl < ' hir > Ty < ' hir > {
3007- /// Converts a `Ty` in an unambigous position to one in an ambiguous position. This is
3007+ /// Converts a `Ty` in an unambiguous position to one in an ambiguous position. This is
30083008 /// fallible as the [`TyKind::Infer`] variant is not present in ambiguous positions.
30093009 ///
30103010 /// Functions accepting ambiguous types will not handle the [`TyKind::Infer`] variant, if
0 commit comments