Skip to content

Commit 3155db4

Browse files
AlexCue987alkuzo
and
alkuzo
authored
fix-type (#1565)
Co-authored-by: alkuzo <[email protected]>
1 parent 97a8973 commit 3155db4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/types/cast.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ fn main() {
5353
// Unless it already fits, of course.
5454
println!(" 128 as a i16 is: {}", 128 as i16);
5555
56-
// 128 as u8 -> -128, whose two's complement in eight bits is:
56+
// 128 as i8 -> -128, whose two's complement in eight bits is:
5757
println!(" 128 as a i8 is : {}", 128 as i8);
5858
5959
// repeating the example above

0 commit comments

Comments
 (0)