diff options
author | Matthias Beyer <matthias.beyer@ifm.com> | 2022-02-07 09:33:34 +0100 |
---|---|---|
committer | Matthias Beyer <matthias.beyer@ifm.com> | 2022-02-23 10:32:24 +0100 |
commit | 7e0e8ba28c5a701011b194d9bebd8bc60b0d72ff (patch) | |
tree | 2169f07c3e6a0067463e4205dab7cd92b590bce6 /crates/core | |
parent | cdc88939a2f89b2d0bfef0282989064cd105d11b (diff) |
Remove borrow that is immediately dereferenced
This fixes clippy lint `clippy::needless_borrow`.
Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
Diffstat (limited to 'crates/core')
-rw-r--r-- | crates/core/plugin_sm/src/plugin.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/core/plugin_sm/src/plugin.rs b/crates/core/plugin_sm/src/plugin.rs index fd4977c4..f7df5449 100644 --- a/crates/core/plugin_sm/src/plugin.rs +++ b/crates/core/plugin_sm/src/plugin.rs @@ -91,7 +91,7 @@ pub trait Plugin { }; let module_url = module.url.clone(); if let Some(url) = module_url { - match Self::download_from_url(module, &url, logger, &download_path).await { + match Self::download_from_url(module, &url, logger, download_path).await { Err(prepare_error) => { failed_updates.push(prepare_error); break; |