Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[move][docs] Add section on pattern matching to Move book #17776

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions external-crates/move/documentation/book/src/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,10 @@
- [Conditional Expressions](control-flow/conditionals.md)
- [Loops](control-flow/loops.md)
- [Labeled Control FLow](control-flow/labeled-control-flow.md)
- [Patterm Matching](control-flow/pattern-matching.md)
- [Functions](functions.md)
- [Structs](structs.md)
- [Enums](enums.md)
- [Constants](constants.md)
- [Generics](generics.md)
- [Type Abilities](abilities.md)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@
Move offers multiple constructs for control flow based on
[boolean expressions](./primitive-types/bool.md), including common programming constructs such as
`if` expressions and `while` and `for` loops, along with advanced control flow structures including
labels for loops and escapable named blocks.
labels for loops and escapable named blocks. It also supports more more complex constructs based on
structural pattern matching.

- [Conditional Expressions](./control-flow/conditionals.md)
- [Pattern Matching](./control-flow/pattern-matching.md)
- [Loops](./control-flow/loops.md)
- [Labeled Control FLow](./control-flow/labeled-control-flow.md)
Loading
Loading