mirror of
https://github.com/jht5945/buildj.git
synced 2025-12-29 02:10:04 +08:00
fix clippy
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user