From 03483347b23b3ffd75c68921e5b8b632fe9ebc07 Mon Sep 17 00:00:00 2001 From: Stephane Raux Date: Sun, 28 Oct 2018 20:11:29 -0700 Subject: [PATCH] Fix extern crate alias example for anchored paths --- src/rust-2018/module-system/path-clarity.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rust-2018/module-system/path-clarity.md b/src/rust-2018/module-system/path-clarity.md index 46539dd6..fb232e94 100644 --- a/src/rust-2018/module-system/path-clarity.md +++ b/src/rust-2018/module-system/path-clarity.md @@ -82,7 +82,7 @@ then removing the `extern crate` line on its own won't work. You'll need to do t ```rust,ignore use futures as f; -use f::Future; +use self::f::Future; ``` This change will need to happen in any module that uses `f`.