mirror of
https://git.proxmox.com/git/proxmox
synced 2025-12-25 07:06:20 +00:00
Fixes the clippy error:
error: redundant redefinition of a binding `data`
--> proxmox-http/src/websocket/mod.rs:375:9
|
375 | let data = data;
| ^^^^^^^^^^^^^^^^
|
help: `data` is initially defined here
--> proxmox-http/src/websocket/mod.rs:369:27
|
369 | pub fn try_from_bytes(data: &[u8]) -> Result<Option<FrameHeader>, WebSocketError> {
| ^^^^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_locals
= note: `#[deny(clippy::redundant_locals)]` on by default
Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
|
||
|---|---|---|
| .. | ||
| client | ||
| websocket | ||
| client_trait.rs | ||
| http_options.rs | ||
| lib.rs | ||
| proxy_config.rs | ||
| rate_limited_stream.rs | ||
| rate_limiter.rs | ||
| uri.rs | ||