diff --git a/src/items/implementations.md b/src/items/implementations.md
index 84317ea5b8243..ea09c93cc9715 100644
--- a/src/items/implementations.md
+++ b/src/items/implementations.md
@@ -5,7 +5,7 @@
> _InherentImpl_ | _TraitImpl_
>
> _InherentImpl_ :\
-> `impl` [_Generics_] [_Type_] [_WhereClause_]? `{`\
+> `impl` [_Generics_]? [_Type_] [_WhereClause_]? `{`\
> [_InnerAttribute_]\*\
> _InherentImplItem_\*\
> `}`
@@ -17,7 +17,7 @@
> )
>
> _TraitImpl_ :\
-> `unsafe`? `impl` [_Generics_] `!`?
+> `unsafe`? `impl` [_Generics_]? `!`?
> [_TypePath_] `for` [_Type_]\
> [_WhereClause_]?\
> `{`\