Make Renderer::write()
private
It's pretty much an implementation detail anyway
This commit is contained in:
parent
e047b3fbb3
commit
e3752b72e6
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ impl<'cx, 's, 'o> Renderer<'cx, 's, 'o> {
|
|||
}
|
||||
|
||||
/// Append a literal pre-escaped string.
|
||||
pub fn write(&mut self, s: &str) {
|
||||
fn write(&mut self, s: &str) {
|
||||
let w = self.w;
|
||||
self.stmts.push(quote_stmt!(self.cx, try!($w.write_str($s))));
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue