This commit is contained in:
connorskees 2023-01-08 15:32:26 +00:00
parent 0902851862
commit 2a9e20d037
3 changed files with 3 additions and 1 deletions

1
.gitignore vendored
View File

@ -2,6 +2,7 @@
*.css
*.exe
!input.scss
!crates/static/_index.scss
# devops
/target

View File

@ -2163,7 +2163,7 @@ impl<'a> Visitor<'a> {
let num_named_args = evaluated.named.len();
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
} else {
Vec::new()

View File

@ -0,0 +1 @@
// for doc tests