Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/proto.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

pub use protos::*;

#[allow(clippy::doc_lazy_continuation)]
mod protos {
include!("generated/mod.rs");
}
2 changes: 1 addition & 1 deletion src/transaction/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const SCAN_LOCK_BATCH_SIZE: u32 = 1024;
/// - `gc`: trigger a GC process which clears stale data in the cluster.
/// - `current_timestamp`: get the current `Timestamp` from PD.
/// - `snapshot`: get a [`Snapshot`] of the database at a specified timestamp.
/// A `Snapshot` is a read-only transaction.
/// A `Snapshot` is a read-only transaction.
///
/// The returned results of transactional requests are [`Future`](std::future::Future)s that must be
/// awaited to execute.
Expand Down
1 change: 0 additions & 1 deletion src/transaction/requests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down