diff options
| author | diogo464 <[email protected]> | 2021-07-09 10:14:23 -0400 |
|---|---|---|
| committer | diogo464 <[email protected]> | 2021-07-09 10:14:23 -0400 |
| commit | db42ce18a26c4b457086602ae0a1d0ca95ca55cf (patch) | |
| tree | bb376af6b31bc9d72b8638096ede8e6ced86487b /dotup_cli/src | |
| parent | 3c63bf31b0c4f105d155622c84baf91745f5b9c6 (diff) | |
Fixed clippy warnings.
Diffstat (limited to 'dotup_cli/src')
| -rw-r--r-- | dotup_cli/src/commands/link.rs | 2 | ||||
| -rw-r--r-- | dotup_cli/src/main.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/dotup_cli/src/commands/link.rs b/dotup_cli/src/commands/link.rs index 518bd4a..ed7ee55 100644 --- a/dotup_cli/src/commands/link.rs +++ b/dotup_cli/src/commands/link.rs | |||
| @@ -43,7 +43,7 @@ pub fn main(config: Config, opts: Opts) -> anyhow::Result<()> { | |||
| 43 | } else { | 43 | } else { |
| 44 | let mut params = Vec::new(); | 44 | let mut params = Vec::new(); |
| 45 | for origin in origins { | 45 | for origin in origins { |
| 46 | link(&depot, &origin, &destination, &origin, &mut params)?; | 46 | link(&depot, origin, destination, origin, &mut params)?; |
| 47 | } | 47 | } |
| 48 | params | 48 | params |
| 49 | }; | 49 | }; |
diff --git a/dotup_cli/src/main.rs b/dotup_cli/src/main.rs index b4339c9..05fdcab 100644 --- a/dotup_cli/src/main.rs +++ b/dotup_cli/src/main.rs | |||
| @@ -69,7 +69,7 @@ fn main() -> anyhow::Result<()> { | |||
| 69 | 0 => "warn", | 69 | 0 => "warn", |
| 70 | 1 => "info", | 70 | 1 => "info", |
| 71 | 2 => "debug", | 71 | 2 => "debug", |
| 72 | 3 | _ => "trace", | 72 | _ => "trace", |
| 73 | }; | 73 | }; |
| 74 | 74 | ||
| 75 | Logger::try_with_env_or_str(log_level)? | 75 | Logger::try_with_env_or_str(log_level)? |
