Skip to content

Commit

Permalink
Fix a typo in examples.md
Browse files Browse the repository at this point in the history
  • Loading branch information
azolotko authored and lerno committed Oct 6, 2024
1 parent b7b0f4f commit ddb4f5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/content/docs/Language Overview/examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ fn void! test(int x)
defer try io::printn("X");
defer catch io::printn("B");
defer catch (err) io::printfn("%s", err.message);
if (x == 1) return FooError!;
if (x == 1) return FooError?;
print("!")
}
Expand Down Expand Up @@ -682,4 +682,4 @@ fn void main()
}
```

Read more about dynamic calls [here](/generic-programming/anyinterfaces/).
Read more about dynamic calls [here](/generic-programming/anyinterfaces/).

0 comments on commit ddb4f5c

Please sign in to comment.