diff --git a/src/ppu.rs b/src/ppu.rs index 5bfce2f92b41f3e7eb35a9dde531f4a4306eaf02..bf28a602b5fde3a198b4f6e09f93b4e21b55944e 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 b118091268ae5fc391b03716377df133f6d960a3..d7960b7728a862928a726048838b5fc40654184c 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) {