summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/repository/fs/representation.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/repository/fs/representation.rs b/src/repository/fs/representation.rs
index 004b4f8..991d791 100644
--- a/src/repository/fs/representation.rs
+++ b/src/repository/fs/representation.rs
@@ -197,7 +197,7 @@ impl FileSystemRepresentation {
/// Helper to check whether a DirEntry points to a hidden file
fn is_hidden(entry: &DirEntry) -> bool {
log::trace!("Check {:?} is hidden", entry);
- entry.file_name().to_str().map(|s| s.starts_with(".")).unwrap_or(false)
+ entry.file_name().to_str().map(|s| s.starts_with('.')).unwrap_or(false)
}
/// Helper to check whether a DirEntry points to a directory