mirror of https://github.com/tikv/client-rust.git
fix for new toolchain
Signed-off-by: Ping Yu <yuping@pingcap.com>
This commit is contained in:
parent
9ba978dfcf
commit
1f99574264
4
Makefile
4
Makefile
|
@ -21,9 +21,7 @@ generate:
|
|||
check: generate
|
||||
cargo check --all --all-targets --features "${ALL_FEATURES}"
|
||||
cargo fmt -- --check
|
||||
cargo clippy --all-targets --features "${ALL_FEATURES}" -- \
|
||||
-D clippy::all \
|
||||
-A clippy::doc_lazy_continuation
|
||||
cargo clippy --all-targets --features "${ALL_FEATURES}" -- -D clippy::all
|
||||
|
||||
unit-test: generate
|
||||
cargo nextest run --all --no-default-features
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
#![allow(clippy::large_enum_variant)]
|
||||
#![allow(clippy::enum_variant_names)]
|
||||
#![allow(clippy::doc_lazy_continuation)]
|
||||
|
||||
pub use protos::*;
|
||||
|
||||
|
|
|
@ -40,7 +40,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.
|
||||
|
|
Loading…
Reference in New Issue