Skip to content

Rename new watcher Event names and remove one that cannot happen #3200

Rename new watcher Event names and remove one that cannot happen

Rename new watcher Event names and remove one that cannot happen #3200

GitHub Actions / clippy succeeded May 26, 2024 in 0s

clippy

7 warnings

Details

Results

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

Versions

  • rustc 1.80.0-nightly (1ba35e9bb 2024-05-25)
  • cargo 1.80.0-nightly (a8d72c675 2024-05-24)
  • clippy 0.1.80 (1ba35e9 2024-05-25)

Annotations

Check warning on line 236 in kube-client/src/client/config_ext.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

use of deprecated method `hyper_rustls::HttpsConnectorBuilder::<hyper_rustls::builderstates::WantsProtocols1>::with_server_name`: use Self::with_server_name_resolver with FixedServerNameResolver instead

warning: use of deprecated method `hyper_rustls::HttpsConnectorBuilder::<hyper_rustls::builderstates::WantsProtocols1>::with_server_name`: use Self::with_server_name_resolver with FixedServerNameResolver instead
   --> kube-client/src/client/config_ext.rs:236:31
    |
236 |             builder = builder.with_server_name(tsn.clone());
    |                               ^^^^^^^^^^^^^^^^
    |
    = note: `#[warn(deprecated)]` on by default

Check warning on line 219 in kube-derive/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

doc list item missing indentation

warning: doc list item missing indentation
   --> kube-derive/src/lib.rs:219:5
    |
219 | /// example](https://github.com/kube-rs/kube/blob/main/examples/crd_api.rs))
    |     ^
    |
    = help: if this is supposed to be its own paragraph, add a blank line
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
    = note: `#[warn(clippy::doc_lazy_continuation)]` on by default
help: indent this line
    |
219 | ///   example](https://github.com/kube-rs/kube/blob/main/examples/crd_api.rs))
    |     ++

Check warning on line 33 in kube-derive/src/custom_resource.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

if let can be simplified with `.unwrap_or_default()`

warning: if let can be simplified with `.unwrap_or_default()`
  --> kube-derive/src/custom_resource.rs:33:15
   |
33 |     #[darling(default)]
   |               ^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_unwrap_or_default
help: replace it with
   |
33 ~     #[darling(default)]
34 ~     crates.unwrap_or_default())]
   |

Check warning on line 20 in kube-derive/src/custom_resource.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

if let can be simplified with `.unwrap_or_default()`

warning: if let can be simplified with `.unwrap_or_default()`
  --> kube-derive/src/custom_resource.rs:20:15
   |
20 |     #[darling(default)]
   |               ^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_unwrap_or_default
   = note: `#[warn(clippy::manual_unwrap_or_default)]` on by default
help: replace it with
   |
20 ~     #[darling(default)]
21 ~     namespaced.unwrap_or_default())]
   |

Check warning on line 219 in kube-derive/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

doc list item missing indentation

warning: doc list item missing indentation
   --> kube-derive/src/lib.rs:219:5
    |
219 | /// example](https://github.com/kube-rs/kube/blob/main/examples/crd_api.rs))
    |     ^
    |
    = help: if this is supposed to be its own paragraph, add a blank line
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
    = note: `#[warn(clippy::doc_lazy_continuation)]` on by default
help: indent this line
    |
219 | ///   example](https://github.com/kube-rs/kube/blob/main/examples/crd_api.rs))
    |     ++

Check warning on line 33 in kube-derive/src/custom_resource.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

if let can be simplified with `.unwrap_or_default()`

warning: if let can be simplified with `.unwrap_or_default()`
  --> kube-derive/src/custom_resource.rs:33:15
   |
33 |     #[darling(default)]
   |               ^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_unwrap_or_default
help: replace it with
   |
33 ~     #[darling(default)]
34 ~     crates.unwrap_or_default())]
   |

Check warning on line 20 in kube-derive/src/custom_resource.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

if let can be simplified with `.unwrap_or_default()`

warning: if let can be simplified with `.unwrap_or_default()`
  --> kube-derive/src/custom_resource.rs:20:15
   |
20 |     #[darling(default)]
   |               ^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_unwrap_or_default
   = note: `#[warn(clippy::manual_unwrap_or_default)]` on by default
help: replace it with
   |
20 ~     #[darling(default)]
21 ~     namespaced.unwrap_or_default())]
   |