From c5b5de7178da8ac89de40ec754175042f3a9cf4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Magalh=C3=A3es?= Date: Fri, 30 Aug 2024 18:25:26 +0100 Subject: [PATCH] fix: clippy issues --- src/ppu.rs | 1 + src/state.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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) {