Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/paths.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -175,7 +175,8 @@ mod a {
}
mod b {
pub fn foo() {
::a::foo(); // call a's foo function
::a::foo(); // call `a`'s foo function
// In Rust 2018, `::a` would be interpreted as the crate `a`.
}
}
# fn main() {}
Expand Down