Reading https://docs.rust-embedded.org/discovery/05-led-roulette/index.html I stumbled on the syntax:
fn main() -> ! {
What does it mean?
Reading https://docs.rust-embedded.org/discovery/05-led-roulette/index.html I stumbled on the syntax:
fn main() -> ! {
What does it mean?
It's a never type, which means the main
function never returns since that would be the end of life of your tiny embeded device.
This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.