We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5baa16 commit c3a7959Copy full SHA for c3a7959
crates/utils/re_int_histogram/src/tree.rs
@@ -251,7 +251,7 @@ impl Int64Histogram {
251
/// Returns `None` if no such key exists (including when the histogram is empty).
252
///
253
/// This is an O(log n) operation that efficiently traverses the trie structure.
254
- pub fn prev_key_before(&self, time: i64) -> Option<i64> {
+ pub fn prev_key(&self, time: i64) -> Option<i64> {
255
let time_u64 = u64_key_from_i64_key(time);
256
self.root
257
.max_key_before(0, ROOT_LEVEL, time_u64)
0 commit comments