the.bay.news

Add maximum and minimum and other functions

Rust Internals
Add maximum and minimum and other functions
There should be a convenience way to get the maximum of an array or a set. Which would work like this. assert_eq!([1,2,3].maximum(), 3); assert_eq!([1,2,3].minimum(), 1);

0 comments

Sign in to join the discussion — your thebay.events account works here.

No comments yet.