diff options
| author | diogo464 <[email protected]> | 2023-04-07 20:55:00 +0100 |
|---|---|---|
| committer | diogo464 <[email protected]> | 2023-04-07 20:55:00 +0100 |
| commit | f2bdd7adca2a02ac23adab07119897f25e51f5ef (patch) | |
| tree | 92d89fd8e07a7bee27ec649d3e46b0a7616293df | |
| parent | e7588a7f175ca9b9604ce35d72086489da7a66e3 (diff) | |
chore: fix clippy warnings
| -rw-r--r-- | src/dotup/mod.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dotup/mod.rs b/src/dotup/mod.rs index cb163db..d62047d 100644 --- a/src/dotup/mod.rs +++ b/src/dotup/mod.rs | |||
| @@ -61,6 +61,7 @@ pub struct InstallParams { | |||
| 61 | pub force: bool, | 61 | pub force: bool, |
| 62 | } | 62 | } |
| 63 | 63 | ||
| 64 | #[allow(clippy::derivable_impls)] | ||
| 64 | impl Default for InstallParams { | 65 | impl Default for InstallParams { |
| 65 | fn default() -> Self { | 66 | fn default() -> Self { |
| 66 | Self { force: false } | 67 | Self { force: false } |
| @@ -241,7 +242,7 @@ pub fn status(dotup: &Dotup, group: &str) -> Result<()> { | |||
| 241 | 242 | ||
| 242 | let target = link.target.display(); | 243 | let target = link.target.display(); |
| 243 | let source = link.source.display(); | 244 | let source = link.source.display(); |
| 244 | let installed = is_link_installed(&link)?; | 245 | let installed = is_link_installed(link)?; |
| 245 | let output = format!( | 246 | let output = format!( |
| 246 | "{}{} -> {}", | 247 | "{}{} -> {}", |
| 247 | " ".repeat(depth as usize + 1), | 248 | " ".repeat(depth as usize + 1), |
