From 4d3b246ef6fe4118f7dc08b9f20ba5b2095dc91c Mon Sep 17 00:00:00 2001 From: elchc Date: Wed, 25 Sep 2024 10:51:29 -0400 Subject: [PATCH] add return type on `_start()` in code block --- blog/content/edition-2/posts/03-vga-text-buffer/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blog/content/edition-2/posts/03-vga-text-buffer/index.md b/blog/content/edition-2/posts/03-vga-text-buffer/index.md index 82d432bd1..380be0f39 100644 --- a/blog/content/edition-2/posts/03-vga-text-buffer/index.md +++ b/blog/content/edition-2/posts/03-vga-text-buffer/index.md @@ -656,7 +656,7 @@ Now we can use `println` in our `_start` function: // in src/main.rs #[no_mangle] -pub extern "C" fn _start() { +pub extern "C" fn _start() -> ! { println!("Hello World{}", "!"); loop {}