Skip to content

Commit 1ff3909

Browse files
committed
rust-2018/path-changes: add :: to the list of things that can start a 'use' path
1 parent 2751bdc commit 1ff3909

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rust-2018/path-changes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ enough to have submodules.
272272
In Rust 2018, paths in `use` declarations and in other code work the same way,
273273
both in the top-level module and in any submodule. You can use a relative path
274274
from the current scope, a path starting from an external crate name, or a path
275-
starting with `crate`, `super`, or `self`.
275+
starting with `::`, `crate`, `super`, or `self`.
276276

277277
Code that looked like this:
278278

0 commit comments

Comments
 (0)