diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-02-23 14:36:40 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-02-23 14:36:40 +0100 |
| commit | 457ce954366f3a81989fee788c85a5b20a96ce96 (patch) | |
| tree | bb591fb025adcaaec424f9f52b39fb96af5ca17e /src/model/args.rs | |
| parent | a1d47695a2af5afa466c21ad812a1a8212780293 (diff) | |
More EcoVec usage
Frame unfortunately can't use it because splice is missing.
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`. |
