Skip to content

Commit 0fac073

Browse files
authored
Update README.md
1 parent 98c71d1 commit 0fac073

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Either<String, BigInteger> possiblyPrime = Stream.generate(() ->
2626
.orElseGet(() -> Either.left("no such value"));
2727
````
2828

29-
Declaring the result type before the `map` operation is necessary, due to limitations of Java's typechecker.
29+
Repeating the result type in the `map` operation is necessary, due to a limitation of Java's typechecker.
3030

3131
### Working with Either
3232

0 commit comments

Comments
 (0)