branching time

This commit is contained in:
Dan Buch 2017-12-22 10:26:26 -05:00
parent 9136ef39c4
commit 462d440f1f
Signed by: meatballhat
GPG Key ID: 9685130D8B763EA7
2 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,6 @@
[package]
name = "branches"
version = "0.1.0"
authors = ["Dan Buch <daniel.buch@gmail.com>"]
[dependencies]

View File

@ -0,0 +1,9 @@
fn main() {
let number = 3;
if number < 5 {
println!("condition was true");
} else {
println!("condition was false");
}
}