Skip to content

runtime: rename references from Flatten to Decode #3439

runtime: rename references from Flatten to Decode

runtime: rename references from Flatten to Decode #3439

Triggered via pull request October 3, 2024 22:13
@cluxclux
synchronize #1520
flatten-rename
Status Success
Total duration 57s
Artifacts

clippy.yml

on: pull_request
clippy_nightly
49s
clippy_nightly
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
unneeded `return` statement: e2e/job.rs#L46
warning: unneeded `return` statement --> e2e/job.rs:46:7 | 46 | Ok(()) | ^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return = note: `#[warn(clippy::needless_return)]` on by default help: remove `return` | 46 | OkOk(()) | ~~~~~~
unneeded `return` statement: e2e/boot.rs#L12
warning: unneeded `return` statement --> e2e/boot.rs:12:7 | 12 | Ok(()) | ^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return = note: `#[warn(clippy::needless_return)]` on by default help: remove `return` | 12 ~ Okfor p in pods.list(&Default::default()).await? { 13 + tracing::info!("Found pod {}", p.name_any()); 14 + } 15 + Ok(()) |
empty lines after doc comment: kube-client/src/api/core_methods.rs#L264
warning: empty lines after doc comment --> kube-client/src/api/core_methods.rs:264:5 | 264 | / /// use apiexts::CustomResourceDefinition; 265 | | 266 | | /// # async fn wrapper() -> Result<(), Box<dyn std::error::Error>> { 267 | | /// # let client: kube::Client = todo!(); 268 | | | |_ ... 276 | pub async fn delete(&self, name: &str, dp: &DeleteParams) -> Result<Either<K, Status>> { | -------------------------------------------------------------------------------------- the comment documents this method | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments = help: if the empty lines are unintentional remove them help: if the documentation should include the empty lines include them in the comment | 265 + /// 266 | /// # async fn wrapper() -> Result<(), Box<dyn std::error::Error>> { 267 | /// # let client: kube::Client = todo!(); 268 + /// |
empty line after doc comment: kube-client/src/api/core_methods.rs#L150
warning: empty line after doc comment --> kube-client/src/api/core_methods.rs:150:5 | 150 | / /// use k8s_openapi::api::core::v1::Pod; 151 | | | |_ ... 165 | pub async fn get_metadata_opt(&self, name: &str) -> Result<Option<PartialObjectMeta<K>>> { | ---------------------------------------------------------------------------------------- the comment documents this method | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments = note: `#[warn(clippy::empty_line_after_doc_comments)]` on by default = help: if the empty line is unintentional remove it help: if the documentation should include the empty line include it in the comment | 151 | /// |
empty line after doc comment: kube-core/src/object.rs#L102
warning: empty line after doc comment --> kube-core/src/object.rs:102:5 | 102 | / /// } 103 | | | |_ 104 | pub fn iter_mut(&mut self) -> impl Iterator<Item = &mut T> { | ---------------------------------------------------------- the comment documents this method | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments = note: `#[warn(clippy::empty_line_after_doc_comments)]` on by default = help: if the empty line is unintentional remove it
clippy_nightly
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
clippy_nightly
The following actions use a deprecated Node.js version and will be forced to run on node20: actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
clippy_nightly
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
clippy_nightly
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
clippy_nightly
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
clippy_nightly
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/