Skip to content

Commit

Permalink
Rollup merge of rust-lang#35882 - petrochenkov:patch-2, r=eddyb
Browse files Browse the repository at this point in the history
rustc: Fix outdated comment

cc rust-lang#35870 (comment)

r? @eddyb
  • Loading branch information
Jonathan Turner authored Aug 22, 2016
2 parents 375695c + 17f9937 commit 252f3c5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/librustc/middle/privacy.rs
Original file line number Diff line number Diff line change
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 252f3c5

Please sign in to comment.