Skip to content

Commit

Permalink
oops, fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
fdncred committed Mar 20, 2023
1 parent a1d5bd3 commit c634356
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions docs/specification.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,24 +15,20 @@ This is the list of the supported commands and their idiomatic formatting. Inden

### if

The if clause should look like this.

```rust
```bash
if condition {
// some thing
# some thing
} else if {
// some other thing
# some other thing
} else {
// else the last thing
# else the last thing
}
```
### for
The for command should have formatting like this

```rust
```bash
for var in 0..100 {
// do something here
# do something here
}
```

0 comments on commit c634356

Please sign in to comment.