fix use decl code example in reference

This commit is contained in:
Dan Yang 2015-01-31 12:16:14 -08:00
parent 474b324eda
commit 7eaa589fe5

View File

@ -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