From 278edc0b962cf03d5eef214063d720279e72953a Mon Sep 17 00:00:00 2001 From: zeonzip <96481337+zeonzip@users.noreply.github.com> Date: Fri, 13 Jun 2025 12:24:09 +0200 Subject: [PATCH] Clarify how to find return type of error4 --- exercises/13_error_handling/errors4.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/exercises/13_error_handling/errors4.rs b/exercises/13_error_handling/errors4.rs index ba01e54bf5..144fce7b22 100644 --- a/exercises/13_error_handling/errors4.rs +++ b/exercises/13_error_handling/errors4.rs @@ -10,6 +10,7 @@ struct PositiveNonzeroInteger(u64); impl PositiveNonzeroInteger { fn new(value: i64) -> Result { // TODO: This function shouldn't always return an `Ok`. + // Read the tests below to clarify what should be returned. Ok(Self(value as u64)) } }