diff options
| author | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2016-08-22 00:21:13 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-08-22 00:21:13 +0300 |
| commit | 17f9937cec3682ae73b7ce6e6417522544b86c8a (patch) | |
| tree | b1a9ebfc49eab968e72eb94bc503f5a98ffed50f | |
| parent | 490189634b656dcca9e41e6b52093569c03bd4df (diff) | |
| download | rust-17f9937cec3682ae73b7ce6e6417522544b86c8a.tar.gz rust-17f9937cec3682ae73b7ce6e6417522544b86c8a.zip | |
rustc: Fix outdated comment
| -rw-r--r-- | src/librustc/middle/privacy.rs | 5 |
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, |
