diff options
author | siddharth <s@ricketyspace.net> | 2021-06-05 16:12:23 -0400 |
---|---|---|
committer | siddharth <s@ricketyspace.net> | 2021-06-05 16:12:23 -0400 |
commit | 9b74672bd7ba63be4eeb13b1a07535e950e08920 (patch) | |
tree | b684e5b207a871f4a5d82d123db453546668eb81 | |
parent | 6b06f77ce077e421a6219c454f1c8a43fe329c33 (diff) |
lib/byte.go: update `BytesInCommon` doc
-rw-r--r-- | lib/byte.go | 3 |
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); { |