You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/paths.md
+2-3Lines changed: 2 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,7 +53,7 @@ PathIdentSegment ->
53
53
```
54
54
55
55
r[paths.expr.intro]
56
-
Paths in expressions allow for paths with generic arguments to be specified. They are used in various places in [expressions] and [patterns].
56
+
Paths in expressions are used to refer to local variables and items, and they are also used in [patterns][patterns.path]. Optional [generic arguments] can be specified to provide concrete values for generic parameters.
57
57
58
58
r[paths.expr.turbofish]
59
59
The `::` token is required before the opening `<` for generic arguments to avoid ambiguity with the less-than operator. This is colloquially known as "turbofish" syntax.
@@ -419,13 +419,12 @@ mod without { // crate::without
0 commit comments