From 296bbba3ecf9b5d64d2f59b13bb2680a35a93eee Mon Sep 17 00:00:00 2001 From: saiyuan233 <1765930676@qq.com> Date: Tue, 24 Dec 2024 22:41:31 +0800 Subject: [PATCH] update --- exercises/error_handling/errors1.rs | 2 +- exercises/error_handling/errors2.rs | 2 +- exercises/error_handling/errors3.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/exercises/error_handling/errors1.rs b/exercises/error_handling/errors1.rs index b0a8364a8..781165362 100644 --- a/exercises/error_handling/errors1.rs +++ b/exercises/error_handling/errors1.rs @@ -9,7 +9,7 @@ // Execute `rustlings hint errors1` or use the `hint` watch subcommand for a // hint. -// I AM NOT DONE + pub fn generate_nametag_text(name: String) -> Result { if name.is_empty() { diff --git a/exercises/error_handling/errors2.rs b/exercises/error_handling/errors2.rs index c0f036cfe..85738d72a 100644 --- a/exercises/error_handling/errors2.rs +++ b/exercises/error_handling/errors2.rs @@ -19,7 +19,7 @@ // Execute `rustlings hint errors2` or use the `hint` watch subcommand for a // hint. -// I AM NOT DONE + use std::num::ParseIntError; diff --git a/exercises/error_handling/errors3.rs b/exercises/error_handling/errors3.rs index 29bc0ec9c..51d84c317 100644 --- a/exercises/error_handling/errors3.rs +++ b/exercises/error_handling/errors3.rs @@ -7,7 +7,7 @@ // Execute `rustlings hint errors3` or use the `hint` watch subcommand for a // hint. -// I AM NOT DONE + use std::num::ParseIntError;