mirror of https://github.com/rust-lang/reference
fix incorrect syntax for type-paths
This commit is contained in:
parent
862d6f4e71
commit
2e85a35bec
|
@ -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