make gemtext::Node Clone #10

Merged
cadey merged 1 commits from boringcactus/maj:make-gemtext-node-clone into main 2020-10-06 21:42:31 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit c07d81077a - Show all commits

View File

@ -82,7 +82,7 @@ pub fn render(nodes: Vec<Node>, out: &mut impl Write) -> io::Result<()> {
} }
/// Individual nodes of the document. Each node correlates to a line in the file. /// Individual nodes of the document. Each node correlates to a line in the file.
#[derive(Debug, PartialEq, Eq)] #[derive(Debug, PartialEq, Eq, Clone)]
pub enum Node { pub enum Node {
/// Text lines are the most fundamental line type - any line which does not /// Text lines are the most fundamental line type - any line which does not
/// match the definition of another line type defined below defaults to /// match the definition of another line type defined below defaults to