7052972212
Fixes the clippy warnings: warning: `proxmox-apt` (lib) generated 1 warning warning: using `clone` on type `Option<[u8; 32]>` which implements the `Copy` trait --> proxmox-apt/tests/repositories.rs:117:22 | 117 | let old_digest = file.digest.clone().unwrap(); | ^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `file.digest` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy = note: `#[warn(clippy::clone_on_copy)]` on by default warning: using `clone` on type `[u8; 32]` which implements the `Copy` trait --> proxmox-apt/tests/repositories.rs:135:24 | 135 | file.digest = Some(old_digest.clone()); | ^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `old_digest` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com> Reviewed-by: Lukas Wagner <l.wagner@proxmox.com> |
||
---|---|---|
.. | ||
deb822 | ||
lists | ||
sources.list.d | ||
sources.list.d.expected | ||
repositories.rs |