Merge pull request #20 from rofrol/patch-4
use #[entry] instead of entry!
This commit is contained in:
@@ -6,7 +6,7 @@ Before we start, let's add some code to debug:
|
||||
|
||||
``` rust
|
||||
// -- snip --
|
||||
entry!(main);
|
||||
#[entry]
|
||||
fn main() -> ! {
|
||||
let _y;
|
||||
let x = 42;
|
||||
|
||||
Reference in New Issue
Block a user