Merge pull request #351 from whisperfish/auth-header #272
Annotations
1 error and 3 warnings
GitHub Pages
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
|
GitHub Pages
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
length comparison to zero:
src/websocket/mod.rs#L204
warning: length comparison to zero
--> src/websocket/mod.rs:204:24
|
204 | if self.outgoing_keep_alive_set.len() > 0 {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!self.outgoing_keep_alive_set.is_empty()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_zero
= note: `#[warn(clippy::len_zero)]` on by default
|
the following explicit lifetimes could be elided: 'r:
src/digeststream.rs#L10
warning: the following explicit lifetimes could be elided: 'r
--> src/digeststream.rs:10:6
|
10 | impl<'r, R: Read + Seek> Read for DigestingReader<'r, R> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
|
10 - impl<'r, R: Read + Seek> Read for DigestingReader<'r, R> {
10 + impl<R: Read + Seek> Read for DigestingReader<'_, R> {
|
|