From 7b25957a26a910ada0b70ecdd64680579f14cc9c Mon Sep 17 00:00:00 2001 From: Ikko Ashimine Date: Mon, 6 Jun 2022 00:49:40 +0900 Subject: [PATCH] builtin: fix typo in array.v (#14688) --- vlib/builtin/array.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/builtin/array.v b/vlib/builtin/array.v index 8174266947..454d062319 100644 --- a/vlib/builtin/array.v +++ b/vlib/builtin/array.v @@ -614,7 +614,7 @@ fn (mut a array) set_unsafe(i int, val voidptr) { unsafe { vmemcpy(&u8(a.data) + u64(a.element_size) * u64(i), val, a.element_size) } } -// Private function. Used to implement assigment to the array element. +// Private function. Used to implement assignment to the array element. fn (mut a array) set(i int, val voidptr) { $if !no_bounds_checking ? { if i < 0 || i >= a.len {