From ddf76602be38454ea9dccd29180e5b0adf53df63 Mon Sep 17 00:00:00 2001 From: Niklas Kapelle Date: Fri, 20 Mar 2026 13:10:29 +0100 Subject: [PATCH] fixed typo --- src/utils.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/utils.rs b/src/utils.rs index f787797..b579676 100644 --- a/src/utils.rs +++ b/src/utils.rs @@ -10,6 +10,7 @@ pub fn path_to_lowercase(path: impl AsRef) -> PathBuf { PathBuf::from(path.as_ref().to_string_lossy().to_lowercase()) } +/// Searches for a path but ignores case. Returns the first it finds. pub fn resolve_case_insensitive( base: impl AsRef, rel: impl AsRef, @@ -44,7 +45,7 @@ pub fn resolve_case_insensitive( } /// Use walkdir to walk all actual files in a dir -/// Returns early id any error occurs +/// Returns early if any error occurs pub fn walk_all_files( path: impl AsRef, ) -> Result, walkdir::Error> {