Skip to content

feat: Add typed scale argument to derive macro #3603

feat: Add typed scale argument to derive macro

feat: Add typed scale argument to derive macro #3603

Triggered via pull request December 10, 2024 17:12
Status Success
Total duration 1m 24s
Artifacts

clippy.yml

on: pull_request
Fit to window
Zoom out
Zoom in

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