Skip to content

Commit

Permalink
fix: import TryInto from core
Browse files Browse the repository at this point in the history
  • Loading branch information
jjyr committed Apr 2, 2022
1 parent 5f6354a commit f594d42
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion crates/types/src/conversion/blockchain.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use std::convert::TryInto;
use core::convert::TryInto;

use crate::vec::Vec;
use crate::{bytes::Bytes, packed, prelude::*};
Expand Down
2 changes: 1 addition & 1 deletion crates/types/src/conversion/godwoken.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use std::convert::TryInto;
use core::convert::TryInto;

use crate::{core::H256, packed, prelude::*, vec::Vec};

Expand Down
2 changes: 1 addition & 1 deletion crates/types/src/conversion/primitive.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use std::convert::TryInto;
use core::convert::TryInto;

use crate::{borrow::ToOwned, str, string::String, vec::Vec};
use crate::{bytes::Bytes, packed, prelude::*};
Expand Down
2 changes: 1 addition & 1 deletion crates/types/src/conversion/smt_h256.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use std::convert::TryInto;
use core::convert::TryInto;

use crate::core::H256;
use crate::{packed, prelude::*, vec::Vec};
Expand Down

0 comments on commit f594d42

Please sign in to comment.