Skip to content

Commit c3a7959

Browse files
joelreymontemilk
andauthored
Update crates/utils/re_int_histogram/src/tree.rs
Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com>
1 parent d5baa16 commit c3a7959

File tree

1 file changed

+1
-1
lines changed
  • crates/utils/re_int_histogram/src

1 file changed

+1
-1
lines changed

crates/utils/re_int_histogram/src/tree.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ impl Int64Histogram {
251251
/// Returns `None` if no such key exists (including when the histogram is empty).
252252
///
253253
/// This is an O(log n) operation that efficiently traverses the trie structure.
254-
pub fn prev_key_before(&self, time: i64) -> Option<i64> {
254+
pub fn prev_key(&self, time: i64) -> Option<i64> {
255255
let time_u64 = u64_key_from_i64_key(time);
256256
self.root
257257
.max_key_before(0, ROOT_LEVEL, time_u64)

0 commit comments

Comments
 (0)