From 470f8001a1dba0022ec9d3e46c67c3bbc31359be Mon Sep 17 00:00:00 2001 From: Laurenz Date: Wed, 30 Jun 2021 11:40:27 +0200 Subject: No more collisions between syntax::Tree and layout::Tree --- src/syntax/node.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/syntax/node.rs') diff --git a/src/syntax/node.rs b/src/syntax/node.rs index 79b1e352..1fbdb3d8 100644 --- a/src/syntax/node.rs +++ b/src/syntax/node.rs @@ -52,7 +52,7 @@ pub struct HeadingNode { /// The section depth (numer of equals signs). pub level: usize, /// The contents of the heading. - pub body: Rc, + pub body: Rc, } /// An item in an unordered list: `- ...`. @@ -61,7 +61,7 @@ pub struct ListItem { /// The source code location. pub span: Span, /// The contents of the list item. - pub body: Tree, + pub body: SyntaxTree, } /// An item in an enumeration (ordered list): `1. ...`. @@ -72,5 +72,5 @@ pub struct EnumItem { /// The number, if any. pub number: Option, /// The contents of the list item. - pub body: Tree, + pub body: SyntaxTree, } -- cgit v1.2.3