Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes errors encountered in #3547. Note: includes #3547! ``` error: struct pattern is not needed for a unit variant --> src/core/src/errors.rs:167:48 | 167 | SourmashError::CannotUpsampleScaled { .. } => SourmashErrorCode::CannotUpsampleScaled, | ^^^^^^^ help: remove the struct pattern | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unneeded_struct_pattern = note: `-D clippy::unneeded-struct-pattern` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::unneeded_struct_pattern)]` error: struct pattern is not needed for a unit variant --> src/core/src/errors.rs:169:50 | 169 | SourmashError::NeedsAbundanceTracking { .. } => { | ^^^^^^^ help: remove the struct pattern | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unneeded_struct_pattern error: struct pattern is not needed for a unit variant --> src/core/src/errors.rs:190:46 | 190 | SourmashError::HLLPrecisionBounds { .. } => SourmashErrorCode::HLLPrecisionBounds, | ^^^^^^^ help: remove the struct pattern | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unneeded_struct_pattern ``` --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information