Skip to content

Commit

Permalink
Fix nightly lint (#197)
Browse files Browse the repository at this point in the history
  • Loading branch information
rroelke authored Jan 31, 2025
1 parent 6b15a97 commit 352b59c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tiledb/api/src/filter/ftype.rs
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,8 @@ impl From<&FilterData> for FilterType {
fn from(value: &FilterData) -> Self {
match value {
FilterData::None => FilterType::None,
FilterData::BitShuffle { .. } => FilterType::BitShuffle,
FilterData::ByteShuffle { .. } => FilterType::ByteShuffle,
FilterData::BitShuffle => FilterType::BitShuffle,
FilterData::ByteShuffle => FilterType::ByteShuffle,
FilterData::BitWidthReduction { .. } => {
FilterType::BitWidthReduction
}
Expand Down
4 changes: 2 additions & 2 deletions tiledb/api/src/filter/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ impl Filter {

match *filter_data {
FilterData::None => (),
FilterData::BitShuffle { .. } => (),
FilterData::ByteShuffle { .. } => (),
FilterData::BitShuffle => (),
FilterData::ByteShuffle => (),
FilterData::BitWidthReduction { max_window } => {
if let Some(max_window) = max_window {
let c_size = max_window as std::ffi::c_uint;
Expand Down

0 comments on commit 352b59c

Please sign in to comment.