proxmox/proxmox-http
Maximiliano Sandoval 6b1e4b83bb http: remove unnecessary cast
Fixes the clippy warning:

warning: casting to the same type is unnecessary (`usize` -> `usize`)
   --> proxmox-http/src/websocket/mod.rs:446:40
    |
446 |             mask.copy_from_slice(&data[mask_offset as usize..payload_offset as usize]);
    |                                        ^^^^^^^^^^^^^^^^^^^^ help: try: `mask_offset`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
    = note: `#[warn(clippy::unnecessary_cast)]` on by default

Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
2024-06-28 10:22:58 +02:00
..
debian bump proxmox-http to 0.9.1-1 2024-03-28 13:18:21 +01:00
src http: remove unnecessary cast 2024-06-28 10:22:58 +02:00
Cargo.toml bump proxmox-http to 0.9.1-1 2024-03-28 13:18:21 +01:00