Skip to content

Commit 72f5d91

Browse files
committed
Fix f64 test
1 parent e2b5a03 commit 72f5d91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/f64.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -892,7 +892,7 @@ impl f64 {
892892
/// assert!((-3.0f64).clamp(-2.0f64, 1.0f64) == -2.0f64);
893893
/// assert!((0.0f64).clamp(-2.0f64, 1.0f64) == 0.0f64);
894894
/// assert!((2.0f64).clamp(-2.0f64, 1.0f64) == 1.0f64);
895-
/// assert!((std::f64::NAN).clamp(-2.0f32, 1.0f32).is_nan());
895+
/// assert!((std::f64::NAN).clamp(-2.0f64, 1.0f64).is_nan());
896896
/// ```
897897
#[unstable(feature = "clamp", issue = "44095")]
898898
#[inline]

0 commit comments

Comments
 (0)