clippy
This commit is contained in:
parent
0902851862
commit
2a9e20d037
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,6 +2,7 @@
|
|||||||
*.css
|
*.css
|
||||||
*.exe
|
*.exe
|
||||||
!input.scss
|
!input.scss
|
||||||
|
!crates/static/_index.scss
|
||||||
|
|
||||||
# devops
|
# devops
|
||||||
/target
|
/target
|
||||||
|
@ -2163,7 +2163,7 @@ impl<'a> Visitor<'a> {
|
|||||||
let num_named_args = evaluated.named.len();
|
let num_named_args = evaluated.named.len();
|
||||||
|
|
||||||
let has_arg_list = if let Some(rest_arg) = func.arguments().rest {
|
let has_arg_list = if let Some(rest_arg) = func.arguments().rest {
|
||||||
let rest = if evaluated.positional.len() > 0 {
|
let rest = if !evaluated.positional.is_empty() {
|
||||||
evaluated.positional
|
evaluated.positional
|
||||||
} else {
|
} else {
|
||||||
Vec::new()
|
Vec::new()
|
||||||
|
1
crates/static/_index.scss
Normal file
1
crates/static/_index.scss
Normal file
@ -0,0 +1 @@
|
|||||||
|
// for doc tests
|
Loading…
x
Reference in New Issue
Block a user