17 lines
298 B
Rust
17 lines
298 B
Rust
fn main() {
|
|
// Statements here are executed when the compiled binary is called
|
|
|
|
// Print text to the console
|
|
println!("Hello World!");
|
|
let mut a;
|
|
let mut b=1;
|
|
let mut vec = Vec::new();
|
|
vec.push(1);
|
|
vec.push(2);
|
|
|
|
|
|
for x in 5..10 - 5 {
|
|
a = x;
|
|
}
|
|
|
|
}
|