Skip to content

Commit

Permalink
Clippy stfu
Browse files Browse the repository at this point in the history
  • Loading branch information
gferon committed Oct 17, 2024
1 parent c758d8f commit 267b285
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/websocket/request.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ pub struct WebSocketRequestMessageBuilder {
}

impl WebSocketRequestMessage {
#[allow(clippy::new_ret_no_self)]
pub fn new(method: Method) -> WebSocketRequestMessageBuilder {
WebSocketRequestMessageBuilder {
request: WebSocketRequestMessage {
Expand Down

0 comments on commit 267b285

Please sign in to comment.