Rust and Cargo 1 · Code patterns
Hello world
The smallest runnable Rust program.
fn main() {
println!("Hello, world!");
}
Official Rust and Cargo 1 documentation
Rust and Cargo 1 · Code patterns
The smallest runnable Rust program.
fn main() {
println!("Hello, world!");
}
Official Rust and Cargo 1 documentation
Was this page helpful?