~genbyte/bempline

4a2bd8da88994527ef6873e2864295b1e90c6a44 — Brad Alfirevic 2 months ago 336f7bc
Add clone derive to document
2 files changed, 2 insertions(+), 2 deletions(-)

M src/document.rs
M src/elements.rs
M src/document.rs => src/document.rs +1 -1
@@ 2,7 2,7 @@ use crate::elements::Element;
use crate::error::Error;
use std::fs;

#[derive(Copy, Clone)]
#[derive(Clone)]
pub struct Document {
    elements: Vec<Element>,
}

M src/elements.rs => src/elements.rs +1 -1
@@ 1,4 1,4 @@
#[derive(Debug, PartialEq, Copy, Clone)]
#[derive(Debug, PartialEq, Clone)]
pub enum Element {
    Text(String),
    Variable(String),