(&mut self)
| 2266 | } |
| 2267 | |
| 2268 | fn indent(&mut self) { |
| 2269 | if self.line_start { |
| 2270 | self.line_start = false; |
| 2271 | self.buffer.push_str( |
| 2272 | iter::repeat_n(" ", self.indents) |
| 2273 | .collect::<String>() |
| 2274 | .as_str(), |
| 2275 | ) |
| 2276 | } |
| 2277 | } |
| 2278 | |
| 2279 | fn newline(&mut self) { |
| 2280 | self.buffer.push('\n'); |