s/less/greater/g

This commit is contained in:
Toshiki Teramura 2019-09-14 15:59:10 +09:00
parent 973ba72e4f
commit 0e7c2a4a00
1 changed files with 1 additions and 1 deletions

View File

@ -387,7 +387,7 @@ pub fn clamp_min<T: PartialOrd>(input: T, min: T) -> T {
/// A value bounded by a maximum value
///
/// If input is less than min then this returns min.
/// If input is greater than max then this returns max.
/// Otherwise this returns input.
/// `clamp_max(std::f32::NAN, 1.0)` preserves `NAN` different from `f32::max(std::f32::NAN, 1.0)`.
#[inline]