31 lines
1.1 KiB
Diff
31 lines
1.1 KiB
Diff
From f6c5dde13a39bd149d892162e2ef72267f4c4a57 Mon Sep 17 00:00:00 2001
|
|
From: Someone Serge <sergei.kozlukov@aalto.fi>
|
|
Date: Thu, 15 Feb 2024 18:05:16 +0000
|
|
Subject: [PATCH] re_space_view_time_series: utils: patch out doctests w
|
|
unstable features
|
|
|
|
---
|
|
crates/re_space_view_time_series/src/util.rs | 7 +------
|
|
1 file changed, 1 insertion(+), 6 deletions(-)
|
|
|
|
diff --git a/crates/re_space_view_time_series/src/util.rs b/crates/re_space_view_time_series/src/util.rs
|
|
index 83ce5362f..59d3b9734 100644
|
|
--- a/crates/re_space_view_time_series/src/util.rs
|
|
+++ b/crates/re_space_view_time_series/src/util.rs
|
|
@@ -288,12 +288,7 @@ fn add_series_runs(
|
|
/// is finite `x == x.next_up().next_down()` also holds.
|
|
///
|
|
/// ```rust
|
|
-/// #![feature(float_next_up_down)]
|
|
-/// // f64::EPSILON is the difference between 1.0 and the next number up.
|
|
-/// assert_eq!(1.0f64.next_up(), 1.0 + f64::EPSILON);
|
|
-/// // But not for most numbers.
|
|
-/// assert!(0.1f64.next_up() < 0.1 + f64::EPSILON);
|
|
-/// assert_eq!(9007199254740992f64.next_up(), 9007199254740994.0);
|
|
+/// // PATCHED OUT THE UNSTABLE float_next_up_down
|
|
/// ```
|
|
///
|
|
/// [`NEG_INFINITY`]: f64::NEG_INFINITY
|
|
--
|
|
2.43.0
|
|
|