0
This is the source code:
fn main() {
println!("It works...");
}
Save it in a file called “index.rs”.
Compile it with rustc index.rs
Run it with index
println! displays the string that’s enclosed into quotes.
0
This is the source code:
fn main() {
println!("It works...");
}
Save it in a file called “index.rs”.
Compile it with rustc index.rs
Run it with index
println! displays the string that’s enclosed into quotes.