diff options
Diffstat (limited to 'src/repository')
-rw-r--r-- | src/repository/repository.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/repository/repository.rs b/src/repository/repository.rs index 1298606..7b090ae 100644 --- a/src/repository/repository.rs +++ b/src/repository/repository.rs @@ -44,7 +44,7 @@ impl Repository { let is_hidden = de.path() .file_name() .and_then(|s| s.to_str()) - .map(|s| s.starts_with(".")) + .map(|s| s.starts_with('.')) .unwrap_or(false); if is_dir && !is_hidden { |