Pirmin Kalberer @implgeo
FOSS4G, 1. October 2021
let x = 5;
println!("The value of x is: {}", x);
x = 6; // <-- Error: error[E0384]: cannot assign twice to immutable variable `x`
println!("The value of x is: {}", x);
if
Expressionswhile
Expressionsfor
loopInstantiating
Method call
match
control flow operatorif let
async
/await
Result
typeunsafe
More topics: