Skip to content

Commit

Permalink
fix: clippy issues
Browse files Browse the repository at this point in the history
  • Loading branch information
joamag committed Aug 30, 2024
1 parent 6cbd8b3 commit c5b5de7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/ppu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit c5b5de7

Please sign in to comment.