Closed
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Metadata
Assignees
Labels
Area: 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