diff options
Diffstat (limited to 'src/bytes')
| -rw-r--r-- | src/bytes/bytes_decl.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bytes/bytes_decl.go b/src/bytes/bytes_decl.go index df0614fed0..d144fccf4b 100644 --- a/src/bytes/bytes_decl.go +++ b/src/bytes/bytes_decl.go @@ -6,8 +6,8 @@ package bytes //go:noescape -// IndexByte returns the index of the first instance of c in s, or -1 if c is not present in s. -func IndexByte(s []byte, c byte) int // ../runtime/asm_$GOARCH.s +// IndexByte returns the index of the first instance of c in b, or -1 if c is not present in b. +func IndexByte(b []byte, c byte) int // in internal/bytealg //go:noescape |
