Skip to content

Commit

Permalink
refactor: remove useless function in BannerRect
Browse files Browse the repository at this point in the history
  • Loading branch information
JarKz committed Aug 12, 2024
1 parent e871994 commit 1aead52
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions crates/backend/src/render/banner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,6 @@ impl BannerRect {
self.created_at = time::Instant::now();
}

#[inline]
pub(crate) fn write_to_file(&self, file: &mut File) {
file.write_all(&self.framebuffer).unwrap();
}

#[inline]
pub(crate) fn framebuffer(&self) -> &[u8] {
&self.framebuffer
Expand Down

0 comments on commit 1aead52

Please sign in to comment.