@@ -5,9 +5,6 @@ a namespace qualifier (`::`). If a path consists of only one component, it may
55refer to either an [ item] or a [ variable] in a local control
66scope. If a path has multiple components, it refers to an item.
77
8- [ item ] : items.html
9- [ variable ] : variables.html
10-
118Every item has a _ canonical path_ within its crate, but the path naming an item
129is only meaningful within a given crate. There is no global namespace across
1310crates; an item's canonical path merely identifies it within the crate.
1916x::y::z;
2017```
2118
22- Path components are usually [ identifiers] , but they may
23- also include angle-bracket-enclosed lists of type arguments. In
24- [ expression] context, the type argument list is given
25- after a ` :: ` namespace qualifier in order to disambiguate it from a
26- relational expression involving the less-than symbol (` < ` ). In type
27- expression context, the final namespace qualifier is omitted.
28-
29- [ identifiers ] : identifiers.html
30- [ expression ] : expressions.html
19+ Path components are usually [ identifiers] , but they may also include
20+ angle-bracket-enclosed lists of type arguments. In [ expression] context, the
21+ type argument list is given after a ` :: ` namespace qualifier in order to
22+ disambiguate it from a relational expression involving the less-than symbol
23+ (` < ` ). In type expression context, the final namespace qualifier is omitted.
3124
3225Two examples of paths with type arguments:
3326
@@ -103,3 +96,8 @@ mod a {
10396}
10497# fn main () {}
10598```
99+
100+ [ item ] : items.html
101+ [ variable ] : variables.html
102+ [ identifiers ] : identifiers.html
103+ [ expression ] : expressions.html
0 commit comments