Skip to content

Commit

Permalink
derive Clone for Svgs
Browse files Browse the repository at this point in the history
  • Loading branch information
sizeru authored Jul 5, 2023
1 parent 7fbdfcf commit 569e1d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/svg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use std::{error, fmt};

/// SVG - wrapper around an `XObject` to allow for more
/// control within the library
#[derive(Debug)]
#[derive(Debug, Clone)]
pub struct Svg {
/// The PDF document, converted from SVG using svg2pdf
svg_xobject: Stream,
Expand Down

0 comments on commit 569e1d9

Please sign in to comment.