mirror of
https://git.proxmox.com/git/proxmox-backup
synced 2025-04-28 12:50:53 +00:00
![]() Fixes: warning: needless call to `as_bytes()` --> pbs-tape/src/sg_pt_changer.rs:913:45 | 913 | let rem = SCSI_VOLUME_TAG_LEN - voltag.as_bytes().len(); | ^^^^^^^^^^^^^^^^^^^^^^^ help: `len()` can be called directly on strings: `voltag.len()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_as_bytes = note: `#[warn(clippy::needless_as_bytes)]` on by default Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |