Add proxy Body::collect_bytes
for easier unit tests
#1445
clippy
4 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 4 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.79.0-nightly (1684a753d 2024-04-01)
- cargo 1.79.0-nightly (a59aba136 2024-03-28)
- clippy 0.1.79 (1684a75 2024-04-01)
Annotations
Check warning on line 33 in kube-derive/src/custom_resource.rs
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
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 33 in kube-derive/src/custom_resource.rs
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
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())]
|