Remove semicolon after #[entry]

Otherwise you get the following build error:

```
error: expected item after attributes
 --> src/main.rs:8:8
  |
8 | #[entry];
  |        ^
```

This one confused me for awhile.
This commit is contained in:
Michael Mogenson
2019-03-14 10:47:26 -04:00
parent 9c6bcd2ee8
commit 78bf6ff538

View File

@@ -240,7 +240,7 @@ extern crate panic_halt;
use cortex_m_rt::entry;
#[entry];
#[entry]
fn main() {
}
```