We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c0be629 + 20ddc34 commit b02af1aCopy full SHA for b02af1a
src/types/alias.md
@@ -12,7 +12,7 @@ type U64 = u64;
12
13
fn main() {
14
// `NanoSecond` = `Inch` = `U64` = `u64`.
15
- let nanoseconds: NanoSecond = 5 as U64;
+ let nanoseconds: NanoSecond = 5 as u64;
16
let inches: Inch = 2 as U64;
17
18
// Note that type aliases *don't* provide any extra type safety, because
0 commit comments