]> git.lizzy.rs Git - loadnothing.git/commitdiff
Remove the inlines
authorHimbeerserverDE <himbeerserverde@gmail.com>
Tue, 20 Sep 2022 16:40:41 +0000 (18:40 +0200)
committerHimbeerserverDE <himbeerserverde@gmail.com>
Tue, 20 Sep 2022 16:40:41 +0000 (18:40 +0200)
stage2/src/vga.rs

index efa492e1ffd44005a0ff96897631a8d427daedb1..bf154bcf8e7f8d3476cb8815a2c7141cca8355e0 100644 (file)
@@ -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 {