about summary refs log tree commit diff
path: root/src/actions/update.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions/update.rs')
-rw-r--r--src/actions/update.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/actions/update.rs b/src/actions/update.rs
index 081be72..09be15f 100644
--- a/src/actions/update.rs
+++ b/src/actions/update.rs
@@ -31,7 +31,7 @@ pub fn update(command_options: ActionOptions, fs: &impl Fs, timestamp: u64) -> R
         }
     }
 
-    if affected_files.len() > 0 {
+    if !affected_files.is_empty() {
         repository_history.add_change(RepositoryChange {
             affected_files,
             timestamp,