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.
1 parent 97a8973 commit 3155db4Copy full SHA for 3155db4
src/types/cast.md
@@ -53,7 +53,7 @@ fn main() {
53
// Unless it already fits, of course.
54
println!(" 128 as a i16 is: {}", 128 as i16);
55
56
- // 128 as u8 -> -128, whose two's complement in eight bits is:
+ // 128 as i8 -> -128, whose two's complement in eight bits is:
57
println!(" 128 as a i8 is : {}", 128 as i8);
58
59
// repeating the example above
0 commit comments