Skip to content

Commit

Permalink
Fix f64 test
Browse files Browse the repository at this point in the history
  • Loading branch information
Xaeroxe committed Mar 20, 2019
1 parent e2b5a03 commit 72f5d91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstd/f64.rs
Original file line number Diff line number Diff line change
Expand Up @@ -892,7 +892,7 @@ impl f64 {
/// assert!((-3.0f64).clamp(-2.0f64, 1.0f64) == -2.0f64);
/// assert!((0.0f64).clamp(-2.0f64, 1.0f64) == 0.0f64);
/// assert!((2.0f64).clamp(-2.0f64, 1.0f64) == 1.0f64);
/// assert!((std::f64::NAN).clamp(-2.0f32, 1.0f32).is_nan());
/// assert!((std::f64::NAN).clamp(-2.0f64, 1.0f64).is_nan());
/// ```
#[unstable(feature = "clamp", issue = "44095")]
#[inline]
Expand Down

0 comments on commit 72f5d91

Please sign in to comment.