Skip to content

Commit 17f9937

Browse files
authored
rustc: Fix outdated comment
1 parent 4901896 commit 17f9937

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/librustc/middle/privacy.rs

+2-3
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)