Skip to content

Commit

Permalink
fix: Some typos in the optionals handbook section
Browse files Browse the repository at this point in the history
  • Loading branch information
414owen authored and lerno committed Aug 12, 2024
1 parent 0858b9e commit d568944
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/content/docs/references/docs/optionals.md
Original file line number Diff line number Diff line change
Expand Up @@ -215,8 +215,8 @@ The above being equivalent to:

### Testing for a result without unwrapping

The `@ok` macro will return `true` is an Optional is a result and `false`
it is a fault. Functionally it is equivalent to `!@catch`
The `@ok` macro will return `true` if an Optional is a result and `false`
if is a fault. Functionally it is equivalent to `!@catch`

int! a = ...

Expand Down

0 comments on commit d568944

Please sign in to comment.