Skip to content

Commit

Permalink
chore: fix clippy
Browse files Browse the repository at this point in the history
Signed-off-by: bsbds <[email protected]>
  • Loading branch information
bsbds authored and mergify[bot] committed Mar 5, 2024
1 parent fced04c commit b7705cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/curp/src/server/storage/wal/pipeline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ pub(super) struct FilePipeline {

impl FilePipeline {
/// Creates a new `FilePipeline`
#[allow(clippy::integer_arithmetic)] // Introduced by tokio::select! macro
#[allow(clippy::arithmetic_side_effects)] // Introduced by tokio::select! macro
pub(super) fn new(dir: PathBuf, file_size: u64) -> io::Result<Self> {
Self::clean_up(&dir)?;

Expand Down

0 comments on commit b7705cb

Please sign in to comment.