File tree Expand file tree Collapse file tree 3 files changed +2
-2
lines changed Expand file tree Collapse file tree 3 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 55
66pub use protos:: * ;
77
8+ #[ allow( clippy:: doc_lazy_continuation) ]
89mod protos {
910 include ! ( "generated/mod.rs" ) ;
1011}
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ const SCAN_LOCK_BATCH_SIZE: u32 = 1024;
4242/// - `gc`: trigger a GC process which clears stale data in the cluster.
4343/// - `current_timestamp`: get the current `Timestamp` from PD.
4444/// - `snapshot`: get a [`Snapshot`] of the database at a specified timestamp.
45- /// A `Snapshot` is a read-only transaction.
45+ /// A `Snapshot` is a read-only transaction.
4646///
4747/// The returned results of transactional requests are [`Future`](std::future::Future)s that must be
4848/// awaited to execute.
Original file line number Diff line number Diff line change @@ -904,7 +904,6 @@ impl Merge<kvrpcpb::UnsafeDestroyRangeResponse> for Collect {
904904}
905905
906906#[ cfg( test) ]
907- #[ cfg_attr( feature = "protobuf-codec" , allow( clippy:: useless_conversion) ) ]
908907mod tests {
909908 use crate :: common:: Error :: PessimisticLockError ;
910909 use crate :: common:: Error :: ResolveLockError ;
You can’t perform that action at this time.
0 commit comments