Skip to content

Commit da57c4a

Browse files
authored
Merge pull request #1370 from Equilibris/fix-incorrect-type-path-syntax
fix incorrect syntax for type-paths
2 parents 862d6f4 + 2e85a35 commit da57c4a

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)