Skip to content

Commit 2e85a35

Browse files
committed
fix incorrect syntax for type-paths
1 parent 862d6f4 commit 2e85a35

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
@@ -125,7 +125,7 @@ S::f(); // Calls the inherent impl.
125125
> &nbsp;&nbsp; `::`<sup>?</sup> _TypePathSegment_ (`::` _TypePathSegment_)<sup>\*</sup>
126126
>
127127
> _TypePathSegment_ :\
128-
> &nbsp;&nbsp; _PathIdentSegment_ `::`<sup>?</sup> ([_GenericArgs_] | _TypePathFn_)<sup>?</sup>
128+
> &nbsp;&nbsp; _PathIdentSegment_ (`::`<sup>?</sup> ([_GenericArgs_] | _TypePathFn_))<sup>?</sup>
129129
>
130130
> _TypePathFn_ :\
131131
> `(` _TypePathFnInputs_<sup>?</sup> `)` (`->` [_Type_])<sup>?</sup>

0 commit comments

Comments
 (0)