Need Assistance?

support@tutorialshub.in

Getting Started with Rust

Your First Rust Program (main.rs)

ADVERTISEMENT
Rust Free Lesson
5 min read
ADVERTISEMENT

Every executable Rust program starts at the fn main() function. Notice the exclamation mark in println!(...)—that means println! is a Rust Macro, not a regular function, allowing it to check format placeholders ({}) at compile time!

ADVERTISEMENT
Hi, I'm Tuby! Here to help you