Skip to content

Commit

Permalink
Merge pull request #4056 from rust-lang/appendix-path-qualifiers-3841
Browse files Browse the repository at this point in the history
Correct the explanation of what `::<path>` means
  • Loading branch information
chriskrycho authored Oct 10, 2024
2 parents f156c59 + a50711a commit 2bb3691
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/appendix-02-operators.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ hierarchy to an item.
| Symbol | Explanation |
|--------|-------------|
| `ident::ident` | Namespace path |
| `::path` | Path relative to the crate root (i.e., an explicitly absolute path) |
| `::path` | Path relative to the extern prelude, where all other crates are rooted (i.e., an explicitly absolute path including crate name) |
| `self::path` | Path relative to the current module (i.e., an explicitly relative path). |
| `super::path` | Path relative to the parent of the current module |
| `type::ident`, `<type as trait>::ident` | Associated constants, functions, and types |
Expand Down

0 comments on commit 2bb3691

Please sign in to comment.