Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
adambaratz authored and BooleanCat committed Sep 9, 2024
1 parent 9904dfa commit 9614b29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion it/lines.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (

// Lines yields lines from an io.Reader.
//
// Note: lines longer than 65536 will cauese an error.
// Note: lines longer than 65536 will cause an error.
func Lines(r io.Reader) iter.Seq2[[]byte, error] {
return func(yield func([]byte, error) bool) {
scanner := bufio.NewScanner(r)
Expand Down

0 comments on commit 9614b29

Please sign in to comment.