File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
crates/starknet-types-core/src/felt Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff 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 ,
Original file line number Diff line number Diff line change 11[toolchain ]
2- channel = " 1.77.2 "
2+ channel = " 1.80.1 "
33components = [" rustfmt" , " clippy" , " rust-analyzer" ]
44profile = " minimal"
You can’t perform that action at this time.
0 commit comments