Skip to content

Commit

Permalink
fix: import str from alloc instead of core
Browse files Browse the repository at this point in the history
  • Loading branch information
glihm committed Dec 10, 2023
1 parent 7e08c84 commit dd23610
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions starknet-core/src/types/byte_array.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@
//!
//! In the data structure, everything is represented as a felt to be compatible
//! with the Cairo implementation.
use alloc::string::FromUtf8Error;
use core::str::{self};
use alloc::{
str::{self},
string::FromUtf8Error,
};

use starknet_ff::FieldElement;

Expand Down

0 comments on commit dd23610

Please sign in to comment.