Add Clone
and Copy
impl to PreEscaped
via derive (#101)
This commit is contained in:
parent
4d46029745
commit
97a4bdf30e
1 changed files with 1 additions and 1 deletions
|
@ -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> {
|
||||
|
|
Loading…
Add table
Reference in a new issue