mirror of https://github.com/rust-lang/reference
Merge pull request #1370 from Equilibris/fix-incorrect-type-path-syntax
fix incorrect syntax for type-paths
This commit is contained in:
commit
da57c4ac01
|
@ -125,7 +125,7 @@ S::f(); // Calls the inherent impl.
|
|||
> `::`<sup>?</sup> _TypePathSegment_ (`::` _TypePathSegment_)<sup>\*</sup>
|
||||
>
|
||||
> _TypePathSegment_ :\
|
||||
> _PathIdentSegment_ `::`<sup>?</sup> ([_GenericArgs_] | _TypePathFn_)<sup>?</sup>
|
||||
> _PathIdentSegment_ (`::`<sup>?</sup> ([_GenericArgs_] | _TypePathFn_))<sup>?</sup>
|
||||
>
|
||||
> _TypePathFn_ :\
|
||||
> `(` _TypePathFnInputs_<sup>?</sup> `)` (`->` [_Type_])<sup>?</sup>
|
||||
|
|
Loading…
Reference in New Issue