Remove BootInfo parameter from second post code example

Fixes #388
This commit is contained in:
Philipp Oppermann
2018-02-12 12:46:32 +01:00
parent 384f6c2420
commit 71778d7a42

View File

@@ -285,7 +285,7 @@ The implementation looks like this:
static HELLO: &[u8] = b"Hello World!";
#[no_mangle]
pub fn _start(boot_info: &'static mut BootInfo) -> ! {
pub fn _start() -> ! {
let vga_buffer = 0xb8000 as *const u8 as *mut u8;
for (i, &byte) in HELLO.iter().enumerate() {