diff --git a/crates/re_query2/src/range/results.rs b/crates/re_query2/src/range/results.rs index 75b2ddb7b5470..883101db02646 100644 --- a/crates/re_query2/src/range/results.rs +++ b/crates/re_query2/src/range/results.rs @@ -14,21 +14,12 @@ use crate::{Promise, PromiseResolver, PromiseResult}; /// /// Use [`RangeResults::get`], [`RangeResults::get_required`] and [`RangeResults::get_optional`] /// in order to access the raw results for each individual component. -#[derive(Debug, Clone)] +#[derive(Default, Debug, Clone)] pub struct RangeResults { /// Raw results for each individual component. pub components: IntMap, } -impl Default for RangeResults { - #[inline] - fn default() -> Self { - Self { - components: Default::default(), - } - } -} - impl RangeResults { #[inline] pub fn contains(&self, component_name: impl Into) -> bool {