summaryrefslogtreecommitdiff
path: root/src/model/args.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-02-23 14:38:37 +0100
committerLaurenz <laurmaedje@gmail.com>2023-02-23 14:38:45 +0100
commitaffb3534538385056cfb60328f6dba6bd852229a (patch)
treea0a1b4844d459a66c3d32e0ad0dacf3f47c3966b /src/model/args.rs
parent090831c9cb08c9b3c14ee30b423bb61275d70eb4 (diff)
parent457ce954366f3a81989fee788c85a5b20a96ce96 (diff)
Merge main back
Diffstat (limited to 'src/model/args.rs')
-rw-r--r--src/model/args.rs4
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`.