Skip to content

Commit

Permalink
fix-type (#1565)
Browse files Browse the repository at this point in the history
Co-authored-by: alkuzo <alkuzo@pop-os.localdomain>
  • Loading branch information
AlexCue987 and alkuzo authored Jul 5, 2022
1 parent 97a8973 commit 3155db4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types/cast.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ fn main() {
// Unless it already fits, of course.
println!(" 128 as a i16 is: {}", 128 as i16);
// 128 as u8 -> -128, whose two's complement in eight bits is:
// 128 as i8 -> -128, whose two's complement in eight bits is:
println!(" 128 as a i8 is : {}", 128 as i8);
// repeating the example above
Expand Down

0 comments on commit 3155db4

Please sign in to comment.