From c5618139842eb7b3ef93035fdce0c13bca6f7853 Mon Sep 17 00:00:00 2001 From: Andreas Reich Date: Thu, 19 Dec 2024 15:04:42 +0100 Subject: [PATCH] fix rust check & rerun lints --- crates/store/re_log_types/src/path/entity_path_filter.rs | 1 + examples/rust/dataframe_query/src/main.rs | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/crates/store/re_log_types/src/path/entity_path_filter.rs b/crates/store/re_log_types/src/path/entity_path_filter.rs index bb51e2df2b5f..5b31193cb9a9 100644 --- a/crates/store/re_log_types/src/path/entity_path_filter.rs +++ b/crates/store/re_log_types/src/path/entity_path_filter.rs @@ -118,6 +118,7 @@ impl From for EntityPathRule { impl std::ops::Deref for EntityPathRule { type Target = str; + #[inline] fn deref(&self) -> &Self::Target { &self.0 } diff --git a/examples/rust/dataframe_query/src/main.rs b/examples/rust/dataframe_query/src/main.rs index d451c830da93..fc50c604d361 100644 --- a/examples/rust/dataframe_query/src/main.rs +++ b/examples/rust/dataframe_query/src/main.rs @@ -4,7 +4,7 @@ use itertools::Itertools; use rerun::{ dataframe::{ - concatenate_record_batches, EntityPathFilter, QueryEngine, QueryExpression, + concatenate_record_batches, EntityPathFilter, EntityPathSubs, QueryEngine, QueryExpression, SparseFillStrategy, Timeline, }, ChunkStoreConfig, StoreKind, VersionPolicy, @@ -57,7 +57,9 @@ fn main() -> Result<(), Box> { filtered_index: Some(timeline), view_contents: Some( engine - .iter_entity_paths_sorted(&entity_path_filter) + .iter_entity_paths_sorted( + &entity_path_filter.resolve_forgiving(&EntityPathSubs::default()), + ) .map(|entity_path| (entity_path, None)) .collect(), ),