We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e961167 + 6e2a7b5 commit 1be2f2cCopy full SHA for 1be2f2c
src/items/use-declarations.md
@@ -103,7 +103,7 @@ mod foo {
103
}
104
105
use crate::foo::example::iter; // good: foo is at crate root
106
-// use example::iter; // bad: relative paths are not allowed without `self`
+// use example::iter; // bad in 2015 edition: relative paths are not allowed without `self`; good in 2018 edition
107
use self::baz::foobaz; // good: self refers to module 'foo'
108
use crate::foo::bar::foobar; // good: foo is at crate root
109
0 commit comments