Skip to content

Commit

Permalink
review
Browse files Browse the repository at this point in the history
  • Loading branch information
teh-cmc committed Apr 8, 2024
1 parent cb9ad3b commit 04c1fa3
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions crates/re_query2/src/range/results.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<ComponentName, RangeComponentResults>,
}

impl Default for RangeResults {
#[inline]
fn default() -> Self {
Self {
components: Default::default(),
}
}
}

impl RangeResults {
#[inline]
pub fn contains(&self, component_name: impl Into<ComponentName>) -> bool {
Expand Down

0 comments on commit 04c1fa3

Please sign in to comment.