From 935ba2e486d035c60104217eec8f2a223cdb3bef Mon Sep 17 00:00:00 2001 From: apocelipes Date: Mon, 9 Mar 2026 17:32:42 +0000 Subject: bytes: remove unused indexBytePortable The function "indexBytePortable" is no longer in use, and we have an identical one in "internal/bytealg". Remove this function and related tests. Change-Id: I018a92902f881836699c6a90511359d8bfa16f80 GitHub-Last-Rev: d9c8917253d9e961798660ac62fa8e8ba35523bc GitHub-Pull-Request: golang/go#78029 Reviewed-on: https://go-review.googlesource.com/c/go/+/753080 Reviewed-by: Keith Randall Reviewed-by: Keith Randall Auto-Submit: Keith Randall LUCI-TryBot-Result: Go LUCI Reviewed-by: Mark Freeman --- src/bytes/export_test.go | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 src/bytes/export_test.go (limited to 'src/bytes/export_test.go') diff --git a/src/bytes/export_test.go b/src/bytes/export_test.go deleted file mode 100644 index b65428d9ce..0000000000 --- a/src/bytes/export_test.go +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright 2009 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -package bytes - -// Export func for testing -var IndexBytePortable = indexBytePortable -- cgit v1.3