branching time
This commit is contained in:
9
rustbook/branches/src/main.rs
Normal file
9
rustbook/branches/src/main.rs
Normal file
@@ -0,0 +1,9 @@
|
||||
fn main() {
|
||||
let number = 3;
|
||||
|
||||
if number < 5 {
|
||||
println!("condition was true");
|
||||
} else {
|
||||
println!("condition was false");
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user