From 8db014b664bcd92451e899e4585bf6f594c6ee34 Mon Sep 17 00:00:00 2001 From: HimbeerserverDE Date: Tue, 20 Sep 2022 18:40:41 +0200 Subject: [PATCH] Remove the inlines --- stage2/src/vga.rs | 3 --- 1 file changed, 3 deletions(-) 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 { -- 2.44.0