From 5016c7cf7c846cc4d271fa06d8d7debc7604ae5c Mon Sep 17 00:00:00 2001 From: mo8it Date: Fri, 2 Aug 2024 16:28:05 +0200 Subject: Use `trim_ascii` instead of `trim` --- src/exercise.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/exercise.rs') diff --git a/src/exercise.rs b/src/exercise.rs index 48b9889..7a383bb 100644 --- a/src/exercise.rs +++ b/src/exercise.rs @@ -49,7 +49,7 @@ pub struct Exercise { pub path: &'static str, pub test: bool, pub strict_clippy: bool, - pub hint: String, + pub hint: &'static str, pub done: bool, } -- cgit v1.2.3