mirror of
git://git.proxmox.com/git/proxmox-backup.git
synced 2025-01-05 09:17:59 +03:00
109e063a7e
``` warning: field assignment outside of initializer for an instance created with Default::default() --> pbs-datastore/src/chunker.rs:431:5 | 431 | ctx.total = buffer.len() as u64; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: consider initializing the variable with `chunker::Context { total: buffer.len() as u64, ..Default::default() }` and removing relevant reassignments --> pbs-datastore/src/chunker.rs:430:5 | 430 | let mut ctx = Context::default(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#field_reassign_with_default = note: `#[warn(clippy::field_reassign_with_default)]` on by default ``` Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com> |
||
---|---|---|
.. | ||
examples | ||
src | ||
Cargo.toml |