Skip to content

Switch to reqwest

Switch to reqwest #995

GitHub Actions / clippy succeeded Oct 17, 2024 in 0s

clippy

1 warning

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 1
Note 0
Help 0

Versions

  • rustc 1.81.0 (eeb90cda1 2024-09-04)
  • cargo 1.81.0 (2dbb1af80 2024-08-20)
  • clippy 0.1.81 (eeb90cd 2024-09-04)

Annotations

Check warning on line 19 in src/websocket/request.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

methods called `new` usually return `Self`

warning: methods called `new` usually return `Self`
  --> src/websocket/request.rs:12:5
   |
12 | /     pub fn new(method: Method) -> WebSocketRequestMessageBuilder {
13 | |         WebSocketRequestMessageBuilder {
14 | |             request: WebSocketRequestMessage {
15 | |                 verb: Some(method.to_string()),
...  |
18 | |         }
19 | |     }
   | |_____^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_ret_no_self
   = note: `#[warn(clippy::new_ret_no_self)]` on by default