Make Renderer::write() private

It's pretty much an implementation detail anyway
This commit is contained in:
Chris Wong 2015-01-13 16:47:14 +13:00
parent e047b3fbb3
commit e3752b72e6

View file

@ -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))));
}