Skip to content

Commit

Permalink
Add Clone and Copy impl to PreEscaped via derive (#101)
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasKalbertodt authored and lambda-fairy committed Aug 26, 2017
1 parent 4d46029 commit 97a4bdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion maud/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ impl Render for str {
}

/// A wrapper that renders the inner value without escaping.
#[derive(Debug)]
#[derive(Debug, Clone, Copy)]
pub struct PreEscaped<T: AsRef<str>>(pub T);

impl<T: AsRef<str>> Render for PreEscaped<T> {
Expand Down

0 comments on commit 97a4bdf

Please sign in to comment.