fix(export): make Escape struct field public
This commit is contained in:
parent
e1469b6794
commit
355ea8b46e
|
@ -209,7 +209,7 @@ pub trait HtmlHandler<W: Write> {
|
|||
}
|
||||
}
|
||||
|
||||
pub struct Escape<'a>(&'a str);
|
||||
pub struct Escape<'a>(pub &'a str);
|
||||
|
||||
impl<'a> fmt::Display for Escape<'a> {
|
||||
fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result {
|
||||
|
|
Loading…
Reference in a new issue