-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Closed
Labels
A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsArea: Documentation for any part of the project, including the compiler, standard library, and tools
Description
Location
https://doc.rust-lang.org/stable/std/keyword.type.html
Summary
The docs don't provide an example of a type with a generic, for example:
type ArcMutex<T> = Arc<Mutex<T>>;
While it is fairly obvious, I think it'd be nice to have it documented.
Metadata
Metadata
Assignees
Labels
A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsArea: Documentation for any part of the project, including the compiler, standard library, and tools