From c07d81077a46f618edb38f4c3b482802d377818c Mon Sep 17 00:00:00 2001 From: Melody Horn Date: Mon, 5 Oct 2020 04:38:19 -0600 Subject: [PATCH] make gemtext::Node `Clone` --- gemtext/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gemtext/src/lib.rs b/gemtext/src/lib.rs index ca56b0c..e350b95 100644 --- a/gemtext/src/lib.rs +++ b/gemtext/src/lib.rs @@ -82,7 +82,7 @@ pub fn render(nodes: Vec, out: &mut impl Write) -> io::Result<()> { } /// 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 { /// Text lines are the most fundamental line type - any line which does not /// match the definition of another line type defined below defaults to