From: HimbeerserverDE Date: Tue, 20 Sep 2022 16:40:41 +0000 (+0200) Subject: Remove the inlines X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=8db014b664bcd92451e899e4585bf6f594c6ee34;p=loadnothing.git Remove the inlines --- diff --git a/stage2/src/vga.rs b/stage2/src/vga.rs index efa492e..bf154bc 100644 --- a/stage2/src/vga.rs +++ b/stage2/src/vga.rs @@ -73,7 +73,6 @@ pub struct Writer { } impl Writer { - #[inline(always)] pub fn write_byte(&mut self, byte: u8) { match byte { b'\n' => self.new_line(), @@ -96,7 +95,6 @@ impl Writer { } } - #[inline(always)] pub fn write_string(&mut self, s: &str) { for byte in s.bytes() { match byte { @@ -108,7 +106,6 @@ impl Writer { } } - #[inline(always)] fn new_line(&mut self) { if self.row_position >= BUFFER_HEIGHT { for row in 1..BUFFER_HEIGHT {