Skip to content

Commit 5572280

Browse files
authored
Change docstring: "when converted to u8"
Fixed docstring
1 parent 5462e89 commit 5572280

File tree

1 file changed

+1
-1
lines changed
  • exercises/02_basic_calculator/10_as_casting/src

1 file changed

+1
-1
lines changed

exercises/02_basic_calculator/10_as_casting/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ mod tests {
2323

2424
// You could solve this by using exactly the same expression as above,
2525
// but that would defeat the purpose of the exercise. Instead, use a genuine
26-
// `i8` value that is equivalent to `255` when converted from `u8`.
26+
// `i8` value that is equivalent to `255` when converted to `u8`.
2727
let y: i8 = todo!();
2828

2929
assert_eq!(x, y);

0 commit comments

Comments
 (0)