Employers
Jobseekers
Recruiting Partners
Login
Join Hyring
Join Hyring
Lesson
Introduction
Get Started
Syntax
Output
Comments
Variables
Data Types
Constants
Operators
Booleans
If...Else
Match
While Loops
For Loops
Functions
Scope
Strings
Ownership
Borrowing
Back to lesson
Rust Syntax
The minimal Rust program
Statements ending in semicolons
A block returning a value
if as an expression
Run
Language:
Rust
Change Theme
Change orientation
fn main() { println!("Program started"); }
fn main() { println!("Program started"); }
Output
Click Run to execute this code.