mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
crypto.rand: cleanup test, make it less likely to fail in CI
This commit is contained in:
@ -846,16 +846,6 @@ fn (ar []string) contains(val string) bool {
|
||||
return false
|
||||
}
|
||||
|
||||
// TODO generic
|
||||
fn (ar []int) contains(val int) bool {
|
||||
for s in ar {
|
||||
if s == val {
|
||||
return true
|
||||
}
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
/*
|
||||
pub fn (a []string) to_c() voidptr {
|
||||
mut res := malloc(sizeof(byteptr) * a.len)
|
||||
|
Reference in New Issue
Block a user