Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: disable default root certificates in push service #350

Merged
merged 1 commit into from
Jan 5, 2025

fix: disable default root certificates in push service

fc0a3d9
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

fix: disable default root certificates in push service #350

fix: disable default root certificates in push service
fc0a3d9
Select commit
Loading
Failed to load commit list.
GitHub Actions / clippy succeeded Jan 5, 2025 in 0s

clippy

2 warnings

Details

Results

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

Versions

  • rustc 1.83.0 (90b35a623 2024-11-26)
  • cargo 1.83.0 (5ffbef321 2024-10-29)
  • clippy 0.1.83 (90b35a6 2024-11-26)

Annotations

Check warning on line 204 in src/websocket/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

length comparison to zero

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

Check warning on line 10 in src/digeststream.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the following explicit lifetimes could be elided: 'r

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> {
   |