mirror of
https://github.com/MercuryWorkshop/epoxy-tls.git
synced 2025-05-12 22:10:01 -04:00
clippy pedantic
This commit is contained in:
parent
272610f904
commit
7efda6c533
14 changed files with 148 additions and 129 deletions
|
@ -52,7 +52,7 @@ async fn send_info_packet<W: WebSocketWrite>(
|
|||
.await
|
||||
}
|
||||
|
||||
fn validate_continue_packet(packet: Packet<'_>) -> Result<u32, WispError> {
|
||||
fn validate_continue_packet(packet: &Packet<'_>) -> Result<u32, WispError> {
|
||||
if packet.stream_id != 0 {
|
||||
return Err(WispError::InvalidStreamId);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue