Closed
Description
In https://doc.rust-lang.org/rust-by-example/types/alias.html , it says
// Use an attribute to silence warning.
#[allow(non_camel_case_types)]
type u64_t = u64;
// TODO ^ Try removing the attribute
but removing the attribute does not result in the expected warning about a non-CamelCase type.
What should this page say and/or what would be a better example of this?
Metadata
Metadata
Assignees
Labels
No labels