mirror of
https://github.com/vlang/v.git
synced 2025-09-15 07:22:27 +03:00
vlib: run vfmt over vlib files, so that v doc -m vlib/
can run without warnings
This commit is contained in:
parent
5b1ab3b0bb
commit
dab66593fc
27 changed files with 343 additions and 334 deletions
|
@ -89,7 +89,7 @@ pub fn shuffle<T>(mut a []T, n int) {
|
|||
|
||||
// merge two sorted arrays (ascending) and maintain sorted order
|
||||
[direct_array_access]
|
||||
pub fn merge<T>(a, b []T) []T {
|
||||
pub fn merge<T>(a []T, b []T) []T {
|
||||
mut m := []T{len: a.len + b.len}
|
||||
mut ia := 0
|
||||
mut ib := 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue