1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

add note & fix typo

This commit is contained in:
Joe Conigliaro
2019-07-26 02:07:30 +10:00
committed by Alexander Medvednikov
parent 20a885ff1d
commit 655cad58b2
2 changed files with 3 additions and 1 deletions

View File

@@ -7,6 +7,8 @@
module subtle
// NOTE: require unsafe in future
// any_overlap reports whether x and y share memory at any (not necessarily
// corresponding) index. The memory beyond the slice length is ignored.
pub fn any_overlap(x, y []byte) bool {