summaryrefslogtreecommitdiffstats
path: root/lib/byte.go
diff options
context:
space:
mode:
authorsiddharth <s@ricketyspace.net>2021-06-05 16:12:23 -0400
committersiddharth <s@ricketyspace.net>2021-06-05 16:12:23 -0400
commit9b74672bd7ba63be4eeb13b1a07535e950e08920 (patch)
treeb684e5b207a871f4a5d82d123db453546668eb81 /lib/byte.go
parent6b06f77ce077e421a6219c454f1c8a43fe329c33 (diff)
lib/byte.go: update `BytesInCommon` doc
Diffstat (limited to 'lib/byte.go')
-rw-r--r--lib/byte.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/byte.go b/lib/byte.go
index 744c0d7..149be2a 100644
--- a/lib/byte.go
+++ b/lib/byte.go
@@ -13,7 +13,8 @@ func ByteInBytes(b byte, bs []byte) bool {
return false
}
-// Returns bytes that are common in the given array of array of bytes `bbytes`.
+// Returns bytes that are common in the given array of array of bytes
+// `bbytes`.
func BytesInCommon(bbytes [][]byte) []byte {
common := make([]byte, 0)
switch l := len(bbytes); {