Merge pull request #1347 from elchukc/fix_typo_start_return_type

add return type on `_start()` in code block
This commit is contained in:
Philipp Oppermann
2024-10-07 22:02:27 +02:00
committed by GitHub

View File

@@ -656,7 +656,7 @@ Now we can use `println` in our `_start` function:
// in src/main.rs // in src/main.rs
#[no_mangle] #[no_mangle]
pub extern "C" fn _start() { pub extern "C" fn _start() -> ! {
println!("Hello World{}", "!"); println!("Hello World{}", "!");
loop {} loop {}