about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJonathan Turner <jonathandturner@users.noreply.github.com>2016-08-22 15:34:22 -0700
committerGitHub <noreply@github.com>2016-08-22 15:34:22 -0700
commit252f3c5a1a74ddef5d24655d0911f0ff0f0b9f17 (patch)
treeccb84ad39dbfdfbddabbdfd609e23f1496ed6bee
parent375695c956a32f4056a9622697f3f421fb3b55e0 (diff)
parent17f9937cec3682ae73b7ce6e6417522544b86c8a (diff)
downloadrust-252f3c5a1a74ddef5d24655d0911f0ff0f0b9f17.tar.gz
rust-252f3c5a1a74ddef5d24655d0911f0ff0f0b9f17.zip
Rollup merge of #35882 - petrochenkov:patch-2, r=eddyb
rustc: Fix outdated comment

cc https://github.com/rust-lang/rust/issues/35870#issuecomment-241282692

r? @eddyb
-rw-r--r--src/librustc/middle/privacy.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/librustc/middle/privacy.rs b/src/librustc/middle/privacy.rs
index 478f662d096..189150d4264 100644
--- a/src/librustc/middle/privacy.rs
+++ b/src/librustc/middle/privacy.rs
@@ -23,9 +23,8 @@ use syntax::ast::NodeId;
 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,