summaryrefslogtreecommitdiff
path: root/src/syntax/node.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/syntax/node.rs')
-rw-r--r--src/syntax/node.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/syntax/node.rs b/src/syntax/node.rs
index 9294fecd..881752a6 100644
--- a/src/syntax/node.rs
+++ b/src/syntax/node.rs
@@ -1,5 +1,3 @@
-use std::rc::Rc;
-
use super::*;
/// A syntax node, encompassing a single logical entity of parsed source code.
@@ -52,7 +50,7 @@ pub struct HeadingNode {
/// The section depth (numer of equals signs).
pub level: usize,
/// The contents of the heading.
- pub body: Rc<SyntaxTree>,
+ pub body: SyntaxTree,
}
/// An item in an unordered list: `- ...`.