mirror of
git://git.proxmox.com/git/proxmox-backup.git
synced 2025-03-10 12:58:28 +03: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>