diff --git a/src/ppu.rs b/src/ppu.rs index 5bfce2f9..bf28a602 100644 --- a/src/ppu.rs +++ b/src/ppu.rs @@ -338,6 +338,7 @@ pub struct PpuRegisters { /// Represents the Game Boy PPU (Pixel Processing Unit) and controls /// all of the logic behind the graphics processing and presentation. +/// /// Should store both the VRAM and HRAM together with the internal /// graphic related registers. /// Outputs the screen as a RGB 8 bit frame buffer. diff --git a/src/state.rs b/src/state.rs index b1180912..d7960b77 100644 --- a/src/state.rs +++ b/src/state.rs @@ -1107,7 +1107,7 @@ impl BessName { } pub fn format_name(name: &str, version: &str) -> String { - format!("{} v{}", name, version) + format!("{name} v{version}") } pub fn build_name(&mut self, name: &str, version: &str) {