Skip to content

Commit 2bb3691

Browse files
authored
Merge pull request #4056 from rust-lang/appendix-path-qualifiers-3841
Correct the explanation of what `::<path>` means
2 parents f156c59 + a50711a commit 2bb3691

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/appendix-02-operators.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ hierarchy to an item.
102102
| Symbol | Explanation |
103103
|--------|-------------|
104104
| `ident::ident` | Namespace path |
105-
| `::path` | Path relative to the crate root (i.e., an explicitly absolute path) |
105+
| `::path` | Path relative to the extern prelude, where all other crates are rooted (i.e., an explicitly absolute path including crate name) |
106106
| `self::path` | Path relative to the current module (i.e., an explicitly relative path). |
107107
| `super::path` | Path relative to the parent of the current module |
108108
| `type::ident`, `<type as trait>::ident` | Associated constants, functions, and types |

0 commit comments

Comments
 (0)