Skip to content

Commit 638667c

Browse files
authored
docs: Fix type in VALIDATION.md
1 parent f2ec45f commit 638667c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/VALIDATION.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const failure = 'some error'.fail()
3535
### map
3636

3737
```scala
38-
Validation[E,A].map(fn: A => B): Validation[E,A]
38+
Validation[E,A].map(fn: A => B): Validation[E,B]
3939
```
4040

4141
`map` takes a function (A => B) and applies that function to the value inside the `success` side of the `Validation` and returns another `Validation`. For example:

0 commit comments

Comments
 (0)