Skip to content

Commit

Permalink
Add feature to move 2.1 release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
vineethk committed Nov 5, 2024
1 parent d8216c7 commit 0046b29
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/nextra/pages/en/build/smart-contracts/book/move-2.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ The Move 2.1 language release adds the following features to Move:

- **Loop Labels** One can now use labels for loops and have a `break` or `continue` expression refer to those labels. This allows to continue or break outer loops from within nested loops. See [reference doc here](loops.mdx#loop-labels).

- **Underscore function parameters are wildcards, not symbols** Function parameters named `_` no longer act like variables: they do not bind a value, and multiple such parameters to a function does not cause a conflict. Using `_` in a value expression will yield an error, as it has no value. This makes the behavior of `_` more like the wildcard it is in patterns and let expressions, where it does not bind a value.

## Move 2.0

The Move 2.0 language release adds the following features to Move:
Expand Down

0 comments on commit 0046b29

Please sign in to comment.