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:
parent
20a885ff1d
commit
655cad58b2
@ -3,7 +3,7 @@
|
|||||||
// that can be found in the LICENSE file.
|
// that can be found in the LICENSE file.
|
||||||
|
|
||||||
// This implementation is derived from the golang implementation
|
// This implementation is derived from the golang implementation
|
||||||
// which itself is deroved in part from the reference
|
// which itself is derived in part from the reference
|
||||||
// ANSI C implementation, which carries the following notice:
|
// ANSI C implementation, which carries the following notice:
|
||||||
//
|
//
|
||||||
// rijndael-alg-fst.c
|
// rijndael-alg-fst.c
|
||||||
|
@ -7,6 +7,8 @@
|
|||||||
|
|
||||||
module subtle
|
module subtle
|
||||||
|
|
||||||
|
// NOTE: require unsafe in future
|
||||||
|
|
||||||
// any_overlap reports whether x and y share memory at any (not necessarily
|
// any_overlap reports whether x and y share memory at any (not necessarily
|
||||||
// corresponding) index. The memory beyond the slice length is ignored.
|
// corresponding) index. The memory beyond the slice length is ignored.
|
||||||
pub fn any_overlap(x, y []byte) bool {
|
pub fn any_overlap(x, y []byte) bool {
|
||||||
|
Loading…
Reference in New Issue
Block a user