Update README.md
This commit is contained in:
parent
5545f9ee5a
commit
02f65df0f2
@ -28,6 +28,7 @@ var x = (1 + 2) * (6 - 4) / 2;
|
||||
|
||||
## Control blocks
|
||||
|
||||
### If
|
||||
```Rust
|
||||
if true {
|
||||
print("it's true!");
|
||||
@ -37,6 +38,7 @@ else {
|
||||
}
|
||||
```
|
||||
|
||||
### While
|
||||
```Rust
|
||||
var x = 10;
|
||||
while x > 0 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user