remove pub for a private function in array.v
parent
78c2f8cab3
commit
32fbc2bdf3
|
@ -17,7 +17,7 @@ pub:
|
||||||
}
|
}
|
||||||
|
|
||||||
// Private function, used by V (`nums := []int`)
|
// Private function, used by V (`nums := []int`)
|
||||||
pub fn new_array(mylen, cap, elm_size int) array {
|
fn new_array(mylen, cap, elm_size int) array {
|
||||||
arr := array {
|
arr := array {
|
||||||
len: mylen
|
len: mylen
|
||||||
cap: cap
|
cap: cap
|
||||||
|
|
Loading…
Reference in New Issue