Skip to content
This repository was archived by the owner on Jul 30, 2025. It is now read-only.

Commit 21dc2a3

Browse files
authored
[fix] enums.mdx example code error (#944)
Update enums.mdx
1 parent 55b251e commit 21dc2a3

File tree

1 file changed

+1
-1
lines changed
  • apps/nextra/pages/en/build/smart-contracts/book

1 file changed

+1
-1
lines changed

apps/nextra/pages/en/build/smart-contracts/book/enums.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ Patterns can be nested and contain conditions, as in the following example:
107107

108108
```move
109109
let r : Result<Result<u64>> = Ok(Err(42));
110-
let v = match (r)) {
110+
let v = match (r) {
111111
Ok(Err(c)) if c < 42 => 0,
112112
Ok(Err(c)) if c >= 42 => 1,
113113
Ok(_) => 2,

0 commit comments

Comments
 (0)