Always use spaces for code (if possible) (#609)

Almost all the code in the blog uses spaces instead of tabs.
This change fixes 3 places where there was inconsistancy.

This was causing some of the content to appear misaligned.

Now tabs are only used in:
  - Makefiles
  - Dockerfiles
  - Command output (from `objdump` and `diff`) containing tabs
  - `.fish` files
This commit is contained in:
Joseph Richey
2019-05-12 05:39:31 -07:00
committed by Philipp Oppermann
parent a770d09c0a
commit 1ebe869e0e
2 changed files with 3 additions and 3 deletions

View File

@@ -312,7 +312,7 @@ static HELLO: &[u8] = b"Hello World!";
#[no_mangle]
pub extern "C" fn _start() -> ! {
let vga_buffer = 0xb8000 as *mut u8;
let vga_buffer = 0xb8000 as *mut u8;
for (i, &byte) in HELLO.iter().enumerate() {
unsafe {
@@ -321,7 +321,7 @@ pub extern "C" fn _start() -> ! {
}
}
loop {}
loop {}
}
```

View File

@@ -13,7 +13,7 @@
}
.front-page-introduction {
margin-bottom: 2rem;
margin-bottom: 2rem;
}
.navigation {