(&mut self, cond: bool, s: &str)
| 42 | } |
| 43 | |
| 44 | fn p_if(&mut self, cond: bool, s: &str) -> fmt::Result { |
| 45 | if cond { |
| 46 | self.f.write_str(s)?; |
| 47 | } |
| 48 | Ok(()) |
| 49 | } |
| 50 | |
| 51 | fn p_delim(&mut self, first: &mut bool, s: &str) -> fmt::Result { |
| 52 | self.p_if(!core::mem::take(first), s) |
no test coverage detected