Update README.md

This commit is contained in:
Jonathan Turner 2016-03-26 13:43:39 -07:00
parent 05b63ef21b
commit 6a3b6ebe95

View File

@ -41,9 +41,7 @@ var x = 3;
var x = (1 + 2) * (6 - 4) / 2; var x = (1 + 2) * (6 - 4) / 2;
``` ```
## Control blocks ## If
### If
```Rust ```Rust
if true { if true {
print("it's true!"); print("it's true!");
@ -53,7 +51,7 @@ else {
} }
``` ```
### While ## While
```Rust ```Rust
var x = 10; var x = 10;
while x > 0 { while x > 0 {