Skip to content

Commit 0348334

Browse files
committed
Fix extern crate alias example for anchored paths
1 parent 21f73fd commit 0348334

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rust-2018/module-system/path-clarity.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ then removing the `extern crate` line on its own won't work. You'll need to do t
8282
```rust,ignore
8383
use futures as f;
8484
85-
use f::Future;
85+
use self::f::Future;
8686
```
8787

8888
This change will need to happen in any module that uses `f`.

0 commit comments

Comments
 (0)