Skip to content

Commit 252f3c5

Browse files
author
Jonathan Turner
authored
Rollup merge of #35882 - petrochenkov:patch-2, r=eddyb
rustc: Fix outdated comment cc #35870 (comment) r? @eddyb
2 parents 375695c + 17f9937 commit 252f3c5

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/librustc/middle/privacy.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,8 @@ use syntax::ast::NodeId;
2323
pub enum AccessLevel {
2424
// Exported items + items participating in various kinds of public interfaces,
2525
// but not directly nameable. For example, if function `fn f() -> T {...}` is
26-
// public, then type `T` is exported. Its values can be obtained by other crates
27-
// even if the type itseld is not nameable.
28-
// FIXME: Mostly unimplemented. Only `type` aliases export items currently.
26+
// public, then type `T` is reachable. Its values can be obtained by other crates
27+
// even if the type itself is not nameable.
2928
Reachable,
3029
// Public items + items accessible to other crates with help of `pub use` reexports
3130
Exported,

0 commit comments

Comments
 (0)