Skip to content

Commit 070af41

Browse files
authored
chore: Upgrade to rust 1.84.1 (#477)
Signed-off-by: Ping Yu <yuping@pingcap.com>
1 parent eb02fb0 commit 070af41

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ clap = "2"
5252
env_logger = "0.10"
5353
fail = { version = "0.4", features = ["failpoints"] }
5454
proptest = "1"
55-
proptest-derive = "0.3"
55+
proptest-derive = "0.5.1"
5656
reqwest = { version = "0.11", features = ["json", "native-tls-vendored"] }
5757
rstest = "0.18.2"
5858
serde_json = "1"

rust-toolchain.toml

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

src/kv/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ pub use value::Value;
1616

1717
struct HexRepr<'a>(pub &'a [u8]);
1818

19-
impl<'a> fmt::Display for HexRepr<'a> {
19+
impl fmt::Display for HexRepr<'_> {
2020
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
2121
for byte in self.0 {
2222
write!(f, "{byte:02X}")?;

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)