Change docstring: "when converted to u8"

Fixed docstring
This commit is contained in:
Benjamin Tamasi 2024-10-22 13:39:17 +02:00 committed by GitHub
parent bd17a59e8e
commit 8488317564
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, // 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 // 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!(); let y: i8 = todo!();
assert_eq!(x, y); assert_eq!(x, y);