Skip to content

Commit b797cc8

Browse files
authored
Merge pull request #1347 from elchukc/fix_typo_start_return_type
add return type on `_start()` in code block
2 parents 63cd95b + 28753d6 commit b797cc8

File tree

1 file changed

+1
-1
lines changed
  • blog/content/edition-2/posts/03-vga-text-buffer

1 file changed

+1
-1
lines changed

blog/content/edition-2/posts/03-vga-text-buffer/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -656,7 +656,7 @@ Now we can use `println` in our `_start` function:
656656
// in src/main.rs
657657

658658
#[no_mangle]
659-
pub extern "C" fn _start() {
659+
pub extern "C" fn _start() -> ! {
660660
println!("Hello World{}", "!");
661661

662662
loop {}

0 commit comments

Comments
 (0)