chore: ran v fmt for v 0.3.3 changes
Some checks failed
ci/woodpecker/push/lint Pipeline failed

This commit is contained in:
Jef Roosens 2023-02-08 10:43:33 +01:00
parent 7913b271dd
commit 4db13cdd6e
Signed by: Jef Roosens
GPG key ID: B75D4F293C7052DB
6 changed files with 23 additions and 23 deletions

View file

@ -21,7 +21,7 @@ pub fn reader_to_writer(mut reader io.Reader, mut writer io.Writer) ! {
// match_array_in_array<T> returns how many elements of a2 overlap with a1. For
// example, if a1 = "abcd" & a2 = "cd", the result will be 2. If the match is
// not at the end of a1, the result is 0.
pub fn match_array_in_array<T>(a1 []T, a2 []T) int {
pub fn match_array_in_array[T](a1 []T, a2 []T) int {
mut i := 0
mut match_len := 0