Skip to content

Commit

Permalink
Clippy error in src/bloom/data_type.rs
Browse files Browse the repository at this point in the history
Signed-off-by: KarthikSubbarao <karthikrs2021@gmail.com>
  • Loading branch information
KarthikSubbarao authored Dec 4, 2024
1 parent 7cb7098 commit 976b082
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/bloom/data_type.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,9 @@ impl ValkeyDataType for BloomFilterType {
let new_fp_rate = match Self::calculate_fp_rate(fp_rate, num_filters as i32) {
Ok(rate) => rate,
Err(_) => {
logging::log_warning("Failed to restore bloom object: Reached max number of filters");
logging::log_warning(
"Failed to restore bloom object: Reached max number of filters",
);
return None;
}
};
Expand Down

0 comments on commit 976b082

Please sign in to comment.