1
0
mirror of https://github.com/jht5945/buildj.git synced 2025-12-29 02:10:04 +08:00

fix clippy

This commit is contained in:
2020-01-11 00:46:26 +08:00
parent a3a3220307
commit b04d0e3598
5 changed files with 21 additions and 27 deletions

View File

@@ -32,7 +32,7 @@ pub fn get_args_as_vec() -> Vec<String> {
args_vec
}
pub fn is_buildin_args(args: &Vec<String>) -> bool {
pub fn is_buildin_args(args: &[String]) -> bool {
if args.len() <= 1 {
false
} else {