Merge pull request #187 from half2me/patch-1

Fix docstring: "when converted to `u8`"
This commit is contained in:
Henk Oordt
2024-10-29 14:30:20 +01:00
committed by GitHub

View File

@@ -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);