From 0dd4ae0a7ac0c247078df492469ff20b8a90c886 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Sat, 21 Aug 2021 16:38:51 +0200 Subject: Prune derives --- src/syntax/node.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/syntax/node.rs') diff --git a/src/syntax/node.rs b/src/syntax/node.rs index 4ff69c17..875d32f5 100644 --- a/src/syntax/node.rs +++ b/src/syntax/node.rs @@ -20,9 +20,9 @@ pub enum SyntaxNode { /// A section heading: `= Introduction`. Heading(Box), /// An item in an unordered list: `- ...`. - List(Box), + List(Box), /// An item in an enumeration (ordered list): `1. ...`. - Enum(Box), + Enum(Box), /// An expression. Expr(Expr), } @@ -55,7 +55,7 @@ pub struct HeadingNode { /// An item in an unordered list: `- ...`. #[derive(Debug, Clone, PartialEq)] -pub struct ListItem { +pub struct ListNode { /// The source code location. pub span: Span, /// The contents of the list item. @@ -64,7 +64,7 @@ pub struct ListItem { /// An item in an enumeration (ordered list): `1. ...`. #[derive(Debug, Clone, PartialEq)] -pub struct EnumItem { +pub struct EnumNode { /// The source code location. pub span: Span, /// The number, if any. -- cgit v1.2.3