mirror of
https://github.com/mainmatter/100-exercises-to-learn-rust
synced 2025-02-05 08:45:55 +01:00
Change docstring: "when converted to u8
"
Fixed docstring
This commit is contained in:
parent
bd17a59e8e
commit
8488317564
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ mod tests {
|
|||
|
||||
// You could solve this by using exactly the same expression as above,
|
||||
// but that would defeat the purpose of the exercise. Instead, use a genuine
|
||||
// `i8` value that is equivalent to `255` when converted from `u8`.
|
||||
// `i8` value that is equivalent to `255` when converted to `u8`.
|
||||
let y: i8 = todo!();
|
||||
|
||||
assert_eq!(x, y);
|
||||
|
|
Loading…
Add table
Reference in a new issue