fix incorrect syntax for type-paths

This commit is contained in:
William Sørensen 2023-06-21 16:57:09 +02:00
parent 862d6f4e71
commit 2e85a35bec
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ S::f(); // Calls the inherent impl.
> &nbsp;&nbsp; `::`<sup>?</sup> _TypePathSegment_ (`::` _TypePathSegment_)<sup>\*</sup>
>
> _TypePathSegment_ :\
> &nbsp;&nbsp; _PathIdentSegment_ `::`<sup>?</sup> ([_GenericArgs_] | _TypePathFn_)<sup>?</sup>
> &nbsp;&nbsp; _PathIdentSegment_ (`::`<sup>?</sup> ([_GenericArgs_] | _TypePathFn_))<sup>?</sup>
>
> _TypePathFn_ :\
> `(` _TypePathFnInputs_<sup>?</sup> `)` (`->` [_Type_])<sup>?</sup>