]> git.lizzy.rs Git - rust.git/commitdiff
rustc: Fix outdated comment
authorVadim Petrochenkov <vadim.petrochenkov@gmail.com>
Sun, 21 Aug 2016 21:21:13 +0000 (00:21 +0300)
committerGitHub <noreply@github.com>
Sun, 21 Aug 2016 21:21:13 +0000 (00:21 +0300)
src/librustc/middle/privacy.rs

index 478f662d0962a4646a9ae555f2bcca15abb7acb7..189150d426463f4835af37c86cde53e43245dfbf 100644 (file)
@@ -23,9 +23,8 @@
 pub enum AccessLevel {
     // Exported items + items participating in various kinds of public interfaces,
     // but not directly nameable. For example, if function `fn f() -> T {...}` is
-    // public, then type `T` is exported. Its values can be obtained by other crates
-    // even if the type itseld is not nameable.
-    // FIXME: Mostly unimplemented. Only `type` aliases export items currently.
+    // public, then type `T` is reachable. Its values can be obtained by other crates
+    // even if the type itself is not nameable.
     Reachable,
     // Public items + items accessible to other crates with help of `pub use` reexports
     Exported,