Skip to content

Commit 9300b4d

Browse files
authored
Merge pull request #249 from nikital/patch-1
docs: Fix type in VALIDATION.md
2 parents f2ec45f + 638667c commit 9300b4d

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)