diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-06-30 11:40:27 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-06-30 11:40:27 +0200 |
| commit | 470f8001a1dba0022ec9d3e46c67c3bbc31359be (patch) | |
| tree | d68f60533201658148ea508c90ba704f806561d5 /src/syntax/node.rs | |
| parent | 45812b700114a51f0ee21e31f4454cde3729eaf5 (diff) | |
No more collisions between syntax::Tree and layout::Tree
Diffstat (limited to 'src/syntax/node.rs')
| -rw-r--r-- | src/syntax/node.rs | 6 |
1 files changed, 3 insertions, 3 deletions
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<Tree>, + pub body: Rc<SyntaxTree>, } /// 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<usize>, /// The contents of the list item. - pub body: Tree, + pub body: SyntaxTree, } |
