diff --git a/crates/starknet-types-core/src/felt/mod.rs b/crates/starknet-types-core/src/felt/mod.rs index e1212d4..068f156 100644 --- a/crates/starknet-types-core/src/felt/mod.rs +++ b/crates/starknet-types-core/src/felt/mod.rs @@ -448,7 +448,7 @@ impl Felt { } #[cfg(feature = "arbitrary")] -impl<'a> Arbitrary<'a> for Felt { +impl Arbitrary<'_> for Felt { // Creates an arbitrary `Felt` from unstructured input for fuzzing. // It uses the default implementation to create the internal limbs and then // uses the usual constructors from `lambdaworks-math`. @@ -905,7 +905,7 @@ mod serde_impl { struct FeltVisitor; - impl<'de> de::Visitor<'de> for FeltVisitor { + impl de::Visitor<'_> for FeltVisitor { type Value = Felt; fn expecting(&self, formatter: &mut fmt::Formatter<'_>) -> fmt::Result { diff --git a/ensure_no_std/rust-toolchain.toml b/ensure_no_std/rust-toolchain.toml index 3575179..276c8dc 100644 --- a/ensure_no_std/rust-toolchain.toml +++ b/ensure_no_std/rust-toolchain.toml @@ -1,5 +1,5 @@ [toolchain] -channel = "1.77.2" +channel = "1.84.1" components = ["rustfmt", "clippy"] targets = ["wasm32-unknown-unknown"] profile = "minimal" diff --git a/rust-toolchain.toml b/rust-toolchain.toml index b843478..d637558 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,4 +1,4 @@ [toolchain] -channel = "1.80.1" +channel = "1.84.1" components = ["rustfmt", "clippy", "rust-analyzer"] profile = "minimal"