From 6bb19c872630963c737a5db762777c4b0d684ca4 Mon Sep 17 00:00:00 2001 From: MohammadHosein Masoon Date: Tue, 28 Jan 2025 13:18:20 +0330 Subject: [PATCH] fix typo in comment --- 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 2ba058c49a..b1921d0a28 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 to `u8`. + // `i8` value that is equivalent to `255` when converted from `u8`. let y: i8 = todo!(); assert_eq!(x, y);