From 3f6553f3be44f8837df670cc81397e3a1c3a2d5e Mon Sep 17 00:00:00 2001 From: Olaf Buddenhagen Date: Mon, 8 Mar 2021 08:27:31 +0100 Subject: [PATCH] Comment typo --- src/items/generics.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ```