Skip to content

Commit 5a932de

Browse files
authored
Fix typo
1 parent 306755c commit 5a932de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

iter/find.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package iter
22

33
import "github.com/BooleanCat/go-functional/option"
44

5-
// Find the first occurance of a value that satisfies the predicate and return
5+
// Find the first occurrence of a value that satisfies the predicate and return
66
// that value. If no value satisfies the predicate, return `None`.
77
func Find[T any](iter Iterator[T], predicate func(v T) bool) option.Option[T] {
88
for {

0 commit comments

Comments
 (0)