(self)
| 182 | } |
| 183 | |
| 184 | fn finish(self) -> Result<&'a mut Formatter<'b>, fmt::Error> { |
| 185 | if !self.empty { |
| 186 | // we wrote a specific formatting character, therefore we need to end |
| 187 | self.fmt.write_str("m")?; |
| 188 | } |
| 189 | |
| 190 | Ok(self.fmt) |
| 191 | } |
| 192 | } |
| 193 | |
| 194 | impl ControlSequence<'_, '_> { |