mirror of
https://github.com/rust-lang/rustlings.git
synced 2026-01-03 01:09:18 +00:00
13 lines
324 B
Rust
13 lines
324 B
Rust
// intro2.rs
|
|
//
|
|
// Make the code print a greeting to the world.
|
|
//
|
|
// Execute `rustlings hint intro2` or use the `hint` watch subcommand for a
|
|
// hint.
|
|
|
|
//Dans ce code comme dans le premier l'erreur était qu'il manquait un ; après le printline! (le dernier pour l'intro1.rs)
|
|
|
|
fn main() {
|
|
printline!("Hello there!");
|
|
}
|