Skip to content

Commit 26e7807

Browse files
authored
Merge pull request #187 from half2me/patch-1
Fix docstring: "when converted to `u8`"
2 parents c540242 + 8488317 commit 26e7807

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)