Skip to content

Commit b02af1a

Browse files
authored
Merge pull request #1790 from TaduJR/patch-1
Update alias.md
2 parents c0be629 + 20ddc34 commit b02af1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/types/alias.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ type U64 = u64;
1212
1313
fn main() {
1414
// `NanoSecond` = `Inch` = `U64` = `u64`.
15-
let nanoseconds: NanoSecond = 5 as U64;
15+
let nanoseconds: NanoSecond = 5 as u64;
1616
let inches: Inch = 2 as U64;
1717
1818
// Note that type aliases *don't* provide any extra type safety, because

0 commit comments

Comments
 (0)