From 7eaa589fe519298893899a8581d57667f9427a11 Mon Sep 17 00:00:00 2001 From: Dan Yang Date: Sat, 31 Jan 2015 12:16:14 -0800 Subject: [PATCH] fix use decl code example in reference --- src/doc/reference.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/doc/reference.md b/src/doc/reference.md index 936c0aac79f..089db3f359c 100644 --- a/src/doc/reference.md +++ b/src/doc/reference.md @@ -1061,7 +1061,7 @@ mod foo { extern crate core; use foo::core::iter; // good: foo is at crate root -// use core::iter; // bad: native is not at the crate root +// use core::iter; // bad: core is not at the crate root use self::baz::foobaz; // good: self refers to module 'foo' use foo::bar::foobar; // good: foo is at crate root