fix check errors (#460)

Signed-off-by: Ping Yu <yuping@pingcap.cn>
This commit is contained in:
Ping Yu 2024-08-12 23:20:45 +08:00 committed by GitHub
parent 53e7a290d9
commit 49f5dba6ad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 2 additions and 2 deletions

View File

@ -5,6 +5,7 @@
pub use protos::*;
#[allow(clippy::doc_lazy_continuation)]
mod protos {
include!("generated/mod.rs");
}

View File

@ -904,7 +904,6 @@ impl Merge<kvrpcpb::UnsafeDestroyRangeResponse> for Collect {
}
#[cfg(test)]
#[cfg_attr(feature = "protobuf-codec", allow(clippy::useless_conversion))]
mod tests {
use crate::common::Error::PessimisticLockError;
use crate::common::Error::ResolveLockError;