Skip to content

Commit

Permalink
Fix grammar for TypePathFn
Browse files Browse the repository at this point in the history
  • Loading branch information
ehuss committed Feb 15, 2024
1 parent 8227666 commit e33f255
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/paths.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ S::f(); // Calls the inherent impl.
> &nbsp;&nbsp; _PathIdentSegment_ (`::`<sup>?</sup> ([_GenericArgs_] | _TypePathFn_))<sup>?</sup>
>
> _TypePathFn_ :\
> `(` _TypePathFnInputs_<sup>?</sup> `)` (`->` [_Type_])<sup>?</sup>
> `(` _TypePathFnInputs_<sup>?</sup> `)` (`->` [_TypeNoBounds_])<sup>?</sup>
>
> _TypePathFnInputs_ :\
> [_Type_] (`,` [_Type_])<sup>\*</sup> `,`<sup>?</sup>
Expand Down Expand Up @@ -395,6 +395,7 @@ mod without { // crate::without
[_LiteralExpression_]: expressions/literal-expr.md
[_SimplePathSegment_]: #simple-paths
[_Type_]: types.md#type-expressions
[_TypeNoBounds_]: types.md#type-expressions
[literal]: expressions/literal-expr.md
[item]: items.md
[variable]: variables.md
Expand Down

0 comments on commit e33f255

Please sign in to comment.