diff options
| author | mo8it <mo8it@proton.me> | 2024-08-02 16:28:05 +0200 |
|---|---|---|
| committer | mo8it <mo8it@proton.me> | 2024-08-02 16:28:05 +0200 |
| commit | 5016c7cf7c846cc4d271fa06d8d7debc7604ae5c (patch) | |
| tree | 532b81db273dd5c622dcb55cf84137ec2e1ecf55 /src/dev/check.rs | |
| parent | 14682060522371a358c2054fd2cc5cfdd1786078 (diff) | |
Use `trim_ascii` instead of `trim`
Diffstat (limited to 'src/dev/check.rs')
| -rw-r--r-- | src/dev/check.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dev/check.rs b/src/dev/check.rs index f01374d..e1e716c 100644 --- a/src/dev/check.rs +++ b/src/dev/check.rs @@ -71,7 +71,7 @@ fn check_info_file_exercises(info_file: &InfoFile) -> Result<hashbrown::HashSet< } } - if exercise_info.hint.trim().is_empty() { + if exercise_info.hint.trim_ascii().is_empty() { bail!("The exercise `{name}` has an empty hint. Please provide a hint or at least tell the user why a hint isn't needed for this exercise"); } |
