Skip to content

Commit 4898360

Browse files
committed
Fix grammar for TypePathFn
1 parent f6ed74f commit 4898360

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/paths.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ S::f(); // Calls the inherent impl.
128128
> &nbsp;&nbsp; _PathIdentSegment_ `::`<sup>?</sup> ([_GenericArgs_] | _TypePathFn_)<sup>?</sup>
129129
>
130130
> _TypePathFn_ :\
131-
> `(` _TypePathFnInputs_<sup>?</sup> `)` (`->` [_Type_])<sup>?</sup>
131+
> `(` _TypePathFnInputs_<sup>?</sup> `)` (`->` [_TypeNoBounds_])<sup>?</sup>
132132
>
133133
> _TypePathFnInputs_ :\
134134
> [_Type_] (`,` [_Type_])<sup>\*</sup> `,`<sup>?</sup>

0 commit comments

Comments
 (0)