diff options
| author | Mel <einebeere@gmail.com> | 2021-10-10 21:37:07 +0200 |
|---|---|---|
| committer | Mel <einebeere@gmail.com> | 2021-10-10 21:37:07 +0200 |
| commit | d106f4a1cef087e64afde2f63fee5e8658dd8a17 (patch) | |
| tree | 585c629b8e403213ca3bc5e1c026bc76467b0b48 /src/actions/update.rs | |
| parent | d57e10663a2f0c6999c04726fac9a9a18ba4a97d (diff) | |
| download | ka-d106f4a1cef087e64afde2f63fee5e8658dd8a17.tar.zst ka-d106f4a1cef087e64afde2f63fee5e8658dd8a17.zip | |
Fix clippy complaints
Diffstat (limited to 'src/actions/update.rs')
| -rw-r--r-- | src/actions/update.rs | 2 |
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, |
