-
Notifications
You must be signed in to change notification settings - Fork 118
Open
Description
Excuse me if this has already been mentioned and/or discussed somewhere and I just missed it. But I honestly searched and didn't find anything resembling, although for me this was one of the first questions that arose when I started learning Rust 4 years ago.
It would be really great, especially for beginners IMO, to have a list of the most common method names (except those provided by traits, since they're naturally general) that would describe and explain their semantics. Which is currently observed in the form of a fairly implicit notation.
Some examples of the most obvious:
- https://doc.rust-lang.org/1.82.0/std/index.html?search=unwrap
- https://doc.rust-lang.org/1.82.0/std/index.html?search=take
- https://doc.rust-lang.org/1.82.0/std/index.html?search=flatten
- https://doc.rust-lang.org/1.82.0/std/index.html?search=transpose
- https://doc.rust-lang.org/1.82.0/std/index.html?search=inspect
as_ref
andas_mut
not from thestd::convert::AsRef
trait (see explanation)
It might make sense to gather some stats on the most repeating names in the standard library, and then extract an appropriate subset of terminology from it.
jonhoo and miried
Metadata
Metadata
Assignees
Labels
No labels