From 499892bab8907c4fb531093c931bb727da400b49 Mon Sep 17 00:00:00 2001 From: Ikko Ashimine Date: Thu, 5 May 2022 01:25:17 +0900 Subject: [PATCH] builtin: fix typo in array_bare.v (#14299) --- vlib/builtin/linux_bare/old/array_bare.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/builtin/linux_bare/old/array_bare.v b/vlib/builtin/linux_bare/old/array_bare.v index b92214fb4d..54e1f0cf18 100644 --- a/vlib/builtin/linux_bare/old/array_bare.v +++ b/vlib/builtin/linux_bare/old/array_bare.v @@ -27,7 +27,7 @@ fn (a array) get(i int) voidptr { return a.data + i * 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 i < 0 || i >= a.len { panic('array.set: index out of range') // FIXME: (i == $i, a.len == $a.len)')