diff --git a/src/items/generics.md b/src/items/generics.md index a7de436ec..946b5e9a5 100644 --- a/src/items/generics.md +++ b/src/items/generics.md @@ -166,7 +166,7 @@ type N = u32; struct Foo; // The following is an error, because `N` is interpreted as the type alias `N`. fn foo() -> Foo { todo!() } // ERROR -// Can be fixed by wrapping in braces to force it to be interprted as the `N` +// Can be fixed by wrapping in braces to force it to be interpreted as the `N` // const parameter: fn bar() -> Foo<{ N }> { todo!() } // ok ```