Skip to content

Commit

Permalink
Merge pull request #194 from moonbitlang/bobzhang-patch-2
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
bobzhang authored May 1, 2024
2 parents 2dcc34e + 84c85a6 commit ddc419b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ The default expression will be evaluated everytime it is used. And the side effe
```rust
fn incr(~counter : Ref[Int] = { val: 0 }) -> Ref[Int] {
counter.val = counter.val + 1
counter.val
counter
}

fn init {
Expand Down

0 comments on commit ddc419b

Please sign in to comment.