Bump actions/setup-node from 3.7.0 to 3.8.1 (#538) #376
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
Annotations
2 errors
useless use of `vec!`:
notegraf/src/notestore/util.rs#L23
error: useless use of `vec!`
--> notegraf/src/notestore/util.rs:23:21
|
23 | vec!["tag1".to_owned(), "tag2".to_owned()].iter().cloned(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: you can use an array directly: `["tag1".to_owned(), "tag2".to_owned()]`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec
= note: `-D clippy::useless-vec` implied by `-D warnings`
|
explicit call to `.into_iter()` in function argument accepting `IntoIterator`:
notegraf/src/notestore/in_memory.rs#L577
error: explicit call to `.into_iter()` in function argument accepting `IntoIterator`
--> notegraf/src/notestore/in_memory.rs:577:27
|
577 | Ok(Vec::from_iter(tags.into_iter()))
| ^^^^^^^^^^^^^^^^ help: consider removing the `.into_iter()`: `tags`
|
note: this parameter accepts any `IntoIterator`, so you don't need to call `.into_iter()`
--> /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/core/src/iter/traits/collect.rs:151:21
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
= note: `-D clippy::useless-conversion` implied by `-D warnings`
|