Skip to content

Commit

Permalink
Merge pull request #1347 from elchukc/fix_typo_start_return_type
Browse files Browse the repository at this point in the history
add return type on `_start()` in code block
  • Loading branch information
phil-opp authored Oct 7, 2024
2 parents 63cd95b + 28753d6 commit b797cc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blog/content/edition-2/posts/03-vga-text-buffer/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 {}
Expand Down

0 comments on commit b797cc8

Please sign in to comment.