arrays: rephrase doc string (#14205)

Atom 2022-04-28 14:17:53 +04:00 committed by Jef Roosens
parent 47dccd56a2
commit 48749b0b24
Signed by: Jef Roosens
GPG Key ID: B75D4F293C7052DB
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ pub fn min<T>(a []T) ?T {
return val
}
// max returns the maximum the maximum value in the array
// max returns the maximum value in the array
// Example: arrays.max([1,2,3,0,9]) // => 9
pub fn max<T>(a []T) ?T {
if a.len == 0 {