Skip to content

Commit 47b8dea

Browse files
authored
chore: toolchain upgrade (#118)
1 parent c10e7d9 commit 47b8dea

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

crates/starknet-types-core/src/felt/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ impl Felt {
160160
// multiplying by BASE, effectively decomposing in base 2^256 to build
161161
// digits with a length of 32 bytes. This is analogous to splitting the
162162
// number `xyz` as `x * 10^2 + y * 10^1 + z * 10^0`.
163-
const BASE: Felt = Self(FieldElement::<Stark252PrimeField>::const_from_raw(
163+
const BASE: Felt = Felt(FieldElement::<Stark252PrimeField>::const_from_raw(
164164
UnsignedInteger::from_limbs([
165165
576413109808302096,
166166
18446744073700081664,
@@ -204,7 +204,7 @@ impl Felt {
204204
// multiplying by BASE, effectively decomposing in base 2^256 to build
205205
// digits with a length of 32 bytes. This is analogous to splitting the
206206
// number `xyz` as `x * 10^2 + y * 10^1 + z * 10^0`.
207-
const BASE: Felt = Self(FieldElement::<Stark252PrimeField>::const_from_raw(
207+
const BASE: Felt = Felt(FieldElement::<Stark252PrimeField>::const_from_raw(
208208
UnsignedInteger::from_limbs([
209209
576413109808302096,
210210
18446744073700081664,

rust-toolchain.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[toolchain]
2-
channel = "1.77.2"
2+
channel = "1.80.1"
33
components = ["rustfmt", "clippy", "rust-analyzer"]
44
profile = "minimal"

0 commit comments

Comments
 (0)