update doc comment

This commit is contained in:
Ahrav Dutta
2024-12-10 20:30:44 -08:00
parent 5684d28b21
commit 7195020236
+2
View File
@@ -54,6 +54,8 @@ func makeASCIISet(chars string) (as asciiSet, ok bool) {
// contains reports whether c is inside the set by using bitwise operations
// to check if the corresponding bit is set in the lookup table.
// This approach was taken from the bytes package.
// https://cs.opensource.google/go/go/+/refs/tags/go1.23.4:src/bytes/bytes.go;l=899
func (as *asciiSet) contains(c byte) bool {
return (as[c/32] & (1 << (c % 32))) != 0
}