mirror of
https://git.proxmox.com/git/proxmox
synced 2025-08-03 02:41:10 +00:00
http: make clippy happy
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
parent
5153e68cab
commit
cbaa3b45bc
@ -202,8 +202,7 @@ pub fn create_frame(
|
||||
0b00000000
|
||||
};
|
||||
|
||||
let mut buf = Vec::new();
|
||||
buf.push(first_byte);
|
||||
let mut buf = vec![first_byte];
|
||||
|
||||
if len < 126 {
|
||||
buf.push(mask_bit | (len as u8));
|
||||
|
Loading…
Reference in New Issue
Block a user