diff options
Diffstat (limited to 'src/model/args.rs')
| -rw-r--r-- | src/model/args.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/model/args.rs b/src/model/args.rs index 9ab07ed8..159e9a77 100644 --- a/src/model/args.rs +++ b/src/model/args.rs @@ -1,5 +1,7 @@ use std::fmt::{self, Debug, Formatter, Write}; +use ecow::EcoVec; + use super::{Array, Cast, Dict, Str, Value}; use crate::diag::{bail, At, SourceResult}; use crate::syntax::{Span, Spanned}; @@ -10,7 +12,7 @@ pub struct Args { /// The span of the whole argument list. pub span: Span, /// The positional and named arguments. - pub items: Vec<Arg>, + pub items: EcoVec<Arg>, } /// An argument to a function call: `12` or `draw: false`. |
