diff --git a/crates/compiler/src/evaluate/visitor.rs b/crates/compiler/src/evaluate/visitor.rs index 2118017..457e3f6 100644 --- a/crates/compiler/src/evaluate/visitor.rs +++ b/crates/compiler/src/evaluate/visitor.rs @@ -1980,7 +1980,7 @@ impl<'a> Visitor<'a> { arguments: ArgumentInvocation, span: Span, ) -> SassResult { - let mut positional = Vec::new(); + let mut positional = Vec::with_capacity(arguments.positional.len()); for expr in arguments.positional { let val = self.visit_expr(expr)?;