diff --git a/crates/re_query/src/query.rs b/crates/re_query/src/query.rs index cba68e348201..2580ff33c31f 100644 --- a/crates/re_query/src/query.rs +++ b/crates/re_query/src/query.rs @@ -69,7 +69,7 @@ pub fn get_component_with_instances( /// its _most recent component_. /// /// If you expect only one instance (e.g. for mono-components like `Transform` `Tensor`] -/// and have no additional components you can use [`DataStore::query_latest_component`] instead. +/// and have no additional components you can use `Caches::latest_at_component` instead. /// /// ``` /// # use re_data_store::LatestAtQuery; diff --git a/crates/re_query_cache2/src/latest_at/helpers.rs b/crates/re_query_cache2/src/latest_at/helpers.rs index 1bf9058723f5..559bc013336f 100644 --- a/crates/re_query_cache2/src/latest_at/helpers.rs +++ b/crates/re_query_cache2/src/latest_at/helpers.rs @@ -146,7 +146,7 @@ impl Caches { ) } - /// Call [`Self::query_latest_component`] at the given path, walking up the hierarchy until an instance is found. + /// Call [`Self::latest_at_component`] at the given path, walking up the hierarchy until an instance is found. pub fn latest_at_component_at_closest_ancestor( &self, store: &DataStore,