Skip to content

Commit

Permalink
Merge pull request #1281 from ehuss/fix-TypePathFn
Browse files Browse the repository at this point in the history
Fix grammar for TypePathFn
  • Loading branch information
ehuss authored Feb 15, 2024
2 parents 8227666 + e33f255 commit 9104f17
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 9104f17

Please sign in to comment.