mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 08:11:33 +11:00
use newer rustfmt
This commit is contained in:
parent
fa7a71e0d3
commit
5c0f855e1b
|
@ -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() {
|
||||||
|
|
Loading…
Reference in a new issue