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
commit 26e78072cd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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