feat: Add typed scale argument to derive macro #3603
Annotations
3 warnings
clippy_nightly
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
redundant closure:
kube-derive/src/custom_resource.rs#L210
warning: redundant closure
--> kube-derive/src/custom_resource.rs:210:57
|
210 | let scale = serde_json::from_str(value).map_err(|err| darling::Error::custom(err))?;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `darling::Error::custom`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
= note: `#[warn(clippy::redundant_closure)]` on by default
|
redundant closure:
kube-derive/src/custom_resource.rs#L210
warning: redundant closure
--> kube-derive/src/custom_resource.rs:210:57
|
210 | let scale = serde_json::from_str(value).map_err(|err| darling::Error::custom(err))?;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `darling::Error::custom`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
= note: `#[warn(clippy::redundant_closure)]` on by default
|