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

builtin: tag array methods unsafe: *_many, grow_len, pointers (#8983)

This commit is contained in:
Nick Treleaven
2021-02-26 21:55:09 +00:00
committed by GitHub
parent 8874379c48
commit 23f231ee61
6 changed files with 14 additions and 10 deletions

View File

@@ -29,7 +29,7 @@ pub fn (mut ctx Context) write(s string) {
if s == '' {
return
}
ctx.print_buf.push_many(s.str, s.len)
unsafe { ctx.print_buf.push_many(s.str, s.len) }
}
[inline]