File tree 2 files changed +3
-3
lines changed
crates/starknet-types-core/src/felt
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -160,7 +160,7 @@ impl Felt {
160
160
// multiplying by BASE, effectively decomposing in base 2^256 to build
161
161
// digits with a length of 32 bytes. This is analogous to splitting the
162
162
// 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 (
164
164
UnsignedInteger :: from_limbs ( [
165
165
576413109808302096 ,
166
166
18446744073700081664 ,
@@ -204,7 +204,7 @@ impl Felt {
204
204
// multiplying by BASE, effectively decomposing in base 2^256 to build
205
205
// digits with a length of 32 bytes. This is analogous to splitting the
206
206
// 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 (
208
208
UnsignedInteger :: from_limbs ( [
209
209
576413109808302096 ,
210
210
18446744073700081664 ,
Original file line number Diff line number Diff line change 1
1
[toolchain ]
2
- channel = " 1.77.2 "
2
+ channel = " 1.80.1 "
3
3
components = [" rustfmt" , " clippy" , " rust-analyzer" ]
4
4
profile = " minimal"
You can’t perform that action at this time.
0 commit comments