]> Cypherpunks.ru repositories - gostls13.git/commit
bufio: allow terminating Scanner early cleanly without a final token or an error
authorfavonia <favonia@gmail.com>
Thu, 25 May 2023 01:43:15 +0000 (21:43 -0400)
committerGopher Robot <gobot@golang.org>
Mon, 23 Oct 2023 09:06:30 +0000 (09:06 +0000)
commitbc2124dab14fa292e18df2937037d782f7868635
treef7e2a17ee720b67b592680a00a3041af64b85ca3
parent6ba6e72e39ac5be92f604832640c3131ad3d0ade
bufio: allow terminating Scanner early cleanly without a final token or an error

Fixes #56381

Change-Id: I95cd603831a7032d764ab312869fe9fb05848a4b
Reviewed-on: https://go-review.googlesource.com/c/go/+/498117
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Benny Siegert <bsiegert@gmail.com>
src/bufio/example_test.go
src/bufio/scan.go