diff --git a/Cargo.toml b/Cargo.toml index a61b7992..9227c5b4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -52,7 +52,7 @@ clap = "2" env_logger = "0.10" fail = { version = "0.4", features = ["failpoints"] } proptest = "1" -proptest-derive = "0.3" +proptest-derive = "0.5.1" reqwest = { version = "0.11", features = ["json", "native-tls-vendored"] } rstest = "0.18.2" serde_json = "1" diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 73cb934d..f06204d1 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,3 +1,3 @@ [toolchain] -channel = "stable" +channel = "1.84.1" components = ["rustfmt", "clippy"] diff --git a/src/kv/mod.rs b/src/kv/mod.rs index 41da842e..bc5ac6e5 100644 --- a/src/kv/mod.rs +++ b/src/kv/mod.rs @@ -16,7 +16,7 @@ pub use value::Value; struct HexRepr<'a>(pub &'a [u8]); -impl<'a> fmt::Display for HexRepr<'a> { +impl fmt::Display for HexRepr<'_> { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { for byte in self.0 { write!(f, "{byte:02X}")?; diff --git a/src/kv/value.rs b/src/kv/value.rs index 337ec24a..700d2ee7 100644 --- a/src/kv/value.rs +++ b/src/kv/value.rs @@ -11,5 +11,4 @@ const _PROPTEST_VALUE_MAX: usize = 1024 * 16; // 16 KB /// Since `Value` is just an alias for `Vec`, conversions to and from it are easy. /// /// Many functions which accept a `Value` accept an `Into`. - pub type Value = Vec;