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

rand: string()

This commit is contained in:
Alexander Medvednikov
2020-07-15 21:36:06 +02:00
parent 4b0ded0475
commit c563168d69
4 changed files with 22 additions and 4 deletions

View File

@@ -4,7 +4,6 @@ module strings
// random returns a random string with `n` characters
/*
// TODO
pub fn random(n int) string {
buf := vmalloc(n)
for i in 0..n {