rust-lang / reference

The Rust Reference
https://doc.rust-lang.org/nightly/reference/
Apache License 2.0
1.18k stars 463 forks source link

Confusing reference to “items” in “Visibility and Privacy” #1503

Open numberZero opened 1 month ago

numberZero commented 1 month ago

The 12.6. Visibility and Privacy section has the following text: “The items are one of those mentioned above, but also include external crates.” It is unclear which items are meant, I don’t see anything relevant (or much at all) above in that section. Perhaps the list has gone into some other section?

matthewjasper commented 3 weeks ago

I think this may have meant the list in items.md but that list doesn't look correct for this statement (as extern crates are on that list). I think this page should probably be rewritten, but as a smaller fix removing that statement and changing "can be though of as some item" to "is an [item]", with item linking to item.md would be an improvement.