Skip to content

Commit 584c623

Browse files
authored
fixed typo from InOn[On] to isOn[On]
1 parent 20945a2 commit 584c623

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/reference/erased-terms.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ State machine with erased evidence example
8585
The following example is an extended implementation of a simple state machine which can be in a state `On` or `Off`.
8686
The machine can change state from `Off` to `On` with `turnedOn` only if it is currently `Off`,
8787
conversely from `On` to `Off` with `turnedOff` only if it is currently `On`. These last constraint are
88-
captured with the `IsOff[S]` and `IsOn[S]` implicit evidence only exist for `IsOff[Off]` and `InOn[On]`.
88+
captured with the `IsOff[S]` and `IsOn[S]` implicit evidence only exist for `IsOff[Off]` and `IsOn[On]`.
8989
For example, not allowing calling `turnedOff` on in an `Off` state as we would require an evidence `IsOn[Off]`
9090
that will not be found.
9191

0 commit comments

Comments
 (0)