mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
arrays: rephrase doc string (#14205)
This commit is contained in:
parent
4538efd8f4
commit
a225b25117
@ -24,7 +24,7 @@ pub fn min<T>(a []T) ?T {
|
|||||||
return val
|
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
|
// Example: arrays.max([1,2,3,0,9]) // => 9
|
||||||
pub fn max<T>(a []T) ?T {
|
pub fn max<T>(a []T) ?T {
|
||||||
if a.len == 0 {
|
if a.len == 0 {
|
||||||
|
Loading…
Reference in New Issue
Block a user