From 8488317564087eb1179705a551da46ccd9e68c7a Mon Sep 17 00:00:00 2001 From: Benjamin Tamasi Date: Tue, 22 Oct 2024 13:39:17 +0200 Subject: [PATCH] Change docstring: "when converted to `u8`" Fixed docstring --- exercises/02_basic_calculator/10_as_casting/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/02_basic_calculator/10_as_casting/src/lib.rs b/exercises/02_basic_calculator/10_as_casting/src/lib.rs index b1921d0..2ba058c 100644 --- a/exercises/02_basic_calculator/10_as_casting/src/lib.rs +++ b/exercises/02_basic_calculator/10_as_casting/src/lib.rs @@ -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);