build(deps): Update Rust crate similar to 2.5 #1269
Annotations
2 warnings
writing `&Vec` instead of `&[_]` involves a new object where a slice will do:
rash_core/src/docopt/mod.rs#L269
warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do
--> rash_core/src/docopt/mod.rs:269:41
|
269 | fn is_usage(possible_usage: &str, opts: &Vec<&str>) -> bool {
| ^^^^^^^^^^ help: change this to: `&[&str]`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg
= note: `#[warn(clippy::ptr_arg)]` on by default
|
writing `&Vec` instead of `&[_]` involves a new object where a slice will do:
rash_core/src/docopt/mod.rs#L269
warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do
--> rash_core/src/docopt/mod.rs:269:41
|
269 | fn is_usage(possible_usage: &str, opts: &Vec<&str>) -> bool {
| ^^^^^^^^^^ help: change this to: `&[&str]`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg
= note: `#[warn(clippy::ptr_arg)]` on by default
|