diff --git a/crates/curp/src/server/storage/wal/pipeline.rs b/crates/curp/src/server/storage/wal/pipeline.rs index d9cdb37e2..79009f898 100644 --- a/crates/curp/src/server/storage/wal/pipeline.rs +++ b/crates/curp/src/server/storage/wal/pipeline.rs @@ -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::clean_up(&dir)?;