Skip to content

Commit fdf4172

Browse files
Lint
1 parent e4f3f82 commit fdf4172

File tree

6 files changed

+6
-3
lines changed

6 files changed

+6
-3
lines changed

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ prometheus = ["prometheus/push", "prometheus/process"]
1414
# Enable integration tests with a running TiKV and PD instance.
1515
# Use $PD_ADDRS, comma separated, to set the addresses the tests use.
1616
integration-tests = []
17+
protobuf-codec = []
1718

1819
[lib]
1920
name = "tikv_client"

rust-toolchain.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[toolchain]
2-
channel = "stable"
3-
components = ["rustfmt", "clippy"]
2+
channel = "1.84.1"
3+
components = ["rustfmt", "clippy", "rust-analyzer"]

src/kv/bound_range.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// Copyright 2019 TiKV Project Authors. Licensed under Apache-2.0.
2+
#![allow(non_local_definitions)]
23

34
use std::borrow::Borrow;
45
use std::cmp::Eq;

src/kv/key.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// Copyright 2019 TiKV Project Authors. Licensed under Apache-2.0.
2+
#![allow(non_local_definitions)]
23

34
use std::fmt;
45
use std::ops::Bound;

src/kv/kvpair.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// Copyright 2019 TiKV Project Authors. Licensed under Apache-2.0.
2+
#![allow(non_local_definitions)]
23

34
use std::fmt;
45
use std::str;

src/kv/value.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,4 @@ const _PROPTEST_VALUE_MAX: usize = 1024 * 16; // 16 KB
1111
/// Since `Value` is just an alias for `Vec<u8>`, conversions to and from it are easy.
1212
///
1313
/// Many functions which accept a `Value` accept an `Into<Value>`.
14-
1514
pub type Value = Vec<u8>;

0 commit comments

Comments
 (0)