Skip to content

Commit 5e728b7

Browse files
Small fix
1 parent 8217fc1 commit 5e728b7

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

pages/docs/manual/v11.0.0/generalized-algebraic-data-types.mdx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,9 +138,7 @@ We can also use this to avoid returning `option` unnecessarily. We create an arr
138138
[^2]: This example is adapted from [here](https://dev.realworldocaml.org/gadts.html).
139139

140140
```res example
141-
module If_not_found = {
142-
type t<_,_>
143-
}module IfNotFound = {
141+
module IfNotFound = {
144142
type rec t<_, _> =
145143
| Raise: t<'a, 'a>
146144
| ReturnNone: t<'a, option<'a>>

pages/docs/manual/v12.0.0/generalized-algebraic-data-types.mdx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,9 +138,7 @@ We can also use this to avoid returning `option` unnecessarily. We create an arr
138138
[^2]: This example is adapted from [here](https://dev.realworldocaml.org/gadts.html).
139139

140140
```res example
141-
module If_not_found = {
142-
type t<_,_>
143-
}module IfNotFound = {
141+
module IfNotFound = {
144142
type rec t<_, _> =
145143
| Raise: t<'a, 'a>
146144
| ReturnNone: t<'a, option<'a>>

0 commit comments

Comments
 (0)