Flexible tuple #654
Annotations
3 warnings
unneeded `return` statement:
src/bin/calcit_deps.rs#L215
warning: unneeded `return` statement
--> src/bin/calcit_deps.rs:215:5
|
215 | return Err(format!("failed to build module {}: {}", folder_path.display(), msg));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= 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`
|
this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec`:
src/data/edn.rs#L110
warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec`
--> src/data/edn.rs:110:13
|
110 | extra.into_iter().map(edn_to_calcit).collect(),
| ^^^^^^^^^ help: call directly: `iter`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref
= note: `#[warn(clippy::into_iter_on_ref)]` on by default
|
Test
Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
|