Skip to content

Commit

Permalink
rustc: Fix outdated comment
Browse files Browse the repository at this point in the history
  • Loading branch information
petrochenkov committed Aug 21, 2016
1 parent 4901896 commit 17f9937
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/librustc/middle/privacy.rs
Expand Up @@ -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,
Expand Down

0 comments on commit 17f9937

Please sign in to comment.