Skip to content

Commit

Permalink
Fix typo in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
BooleanCat authored Sep 25, 2024
1 parent e3d53ac commit b6f6fde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,7 @@ iterator is a line from the provided reader. Empty lines will result in empty va
Since reading from an [io.Reader](https://pkg.go.dev/io#Reader) can fail, each line is returned with
a corresponding `error` value.

LinesString behaves exactly like Lines except that its value are strings rather than byte slices.
LinesString behaves exactly like Lines except that its values are strings rather than byte slices.

```go
buffer := strings.NewReader("one\ntwo\nthree\n")
Expand Down

0 comments on commit b6f6fde

Please sign in to comment.