use newer rustfmt

This commit is contained in:
Corwin 2023-07-02 14:32:09 +01:00
parent fa7a71e0d3
commit 5c0f855e1b
No known key found for this signature in database

View file

@ -181,7 +181,9 @@ impl BufferedRender<'_> {
} }
fn process(&mut self) { fn process(&mut self) {
let Some(c) = self.buffered_chars.pop_front() else { return }; let Some(c) = self.buffered_chars.pop_front() else {
return;
};
match c { match c {
' ' | '\n' => { ' ' | '\n' => {
if let Some(group) = self.char_render.finalise_letter() { if let Some(group) = self.char_render.finalise_letter() {