aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xtask/src/ast_src.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/xtask/src/ast_src.rs b/xtask/src/ast_src.rs
index bb97b13fe..15bd8a2e4 100644
--- a/xtask/src/ast_src.rs
+++ b/xtask/src/ast_src.rs
@@ -233,13 +233,13 @@ pub(crate) struct AstSrc<'a> {
233pub(crate) struct AstNodeSrc<'a> { 233pub(crate) struct AstNodeSrc<'a> {
234 pub(crate) name: &'a str, 234 pub(crate) name: &'a str,
235 pub(crate) traits: &'a [&'a str], 235 pub(crate) traits: &'a [&'a str],
236 pub(crate) fields: &'a [(&'a str, FieldSrc<&'a str>)], 236 pub(crate) fields: &'a [(&'a str, FieldSrc<'a>)],
237} 237}
238 238
239pub(crate) enum FieldSrc<T> { 239pub(crate) enum FieldSrc<'a> {
240 Shorthand, 240 Shorthand,
241 Optional(T), 241 Optional(&'a str),
242 Many(T), 242 Many(&'a str),
243} 243}
244 244
245pub(crate) struct AstEnumSrc<'a> { 245pub(crate) struct AstEnumSrc<'a> {