mirror of
git://git.proxmox.com/git/pxar.git
synced 2024-12-22 21:33:50 +03:00
another clippy fixup
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
81d500297d
commit
c40ababaac
@ -774,6 +774,7 @@ impl<'a, T: SeqWrite + 'a> EncoderImpl<'a, T> {
|
||||
tail.sort_unstable_by(|a, b| a.hash.cmp(&b.hash));
|
||||
|
||||
let mut bst = Vec::with_capacity(tail.len() + 1);
|
||||
#[allow(clippy::uninit_vec)]
|
||||
unsafe {
|
||||
bst.set_len(tail.len());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user