Skip to content

Commit

Permalink
fix: format with nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
triandco committed Sep 23, 2024
1 parent e599fc2 commit 9fbcfd9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 3 additions & 1 deletion columnar/src/column_index/optional_index/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,9 @@ impl<'a> SelectCursor<RowId> for OptionalIndexSelectCursor<'a> {
}

impl Set<RowId> for OptionalIndex {
type SelectCursor<'b> = OptionalIndexSelectCursor<'b> where Self: 'b;
type SelectCursor<'b>
= OptionalIndexSelectCursor<'b>
where Self: 'b;
// Check if value at position is not null.
#[inline]
fn contains(&self, row_id: RowId) -> bool {
Expand Down
4 changes: 3 additions & 1 deletion columnar/src/column_index/optional_index/set_block/dense.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,9 @@ impl<'a> SelectCursor<u16> for DenseBlockSelectCursor<'a> {
}

impl<'a> Set<u16> for DenseBlock<'a> {
type SelectCursor<'b> = DenseBlockSelectCursor<'a> where Self: 'b;
type SelectCursor<'b>
= DenseBlockSelectCursor<'a>
where Self: 'b;

#[inline(always)]
fn contains(&self, el: u16) -> bool {
Expand Down
4 changes: 3 additions & 1 deletion columnar/src/column_index/optional_index/set_block/sparse.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ impl<'a> SelectCursor<u16> for SparseBlock<'a> {
}

impl<'a> Set<u16> for SparseBlock<'a> {
type SelectCursor<'b> = Self where Self: 'b;
type SelectCursor<'b>
= Self
where Self: 'b;

#[inline(always)]
fn contains(&self, el: u16) -> bool {
Expand Down

0 comments on commit 9fbcfd9

Please sign in to comment.