Skip to content

Commit

Permalink
use TryFrom from core instead of std
Browse files Browse the repository at this point in the history
  • Loading branch information
dknopik committed Jan 28, 2025
1 parent 19e5f34 commit f9dbf4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bindings/rust/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -788,7 +788,7 @@ macro_rules! sig_variant_impl {
}
}

impl std::convert::TryFrom<blst_scalar> for SecretKey {
impl core::convert::TryFrom<blst_scalar> for SecretKey {
type Error = BLST_ERROR;

fn try_from(value: blst_scalar) -> Result<Self, Self::Error> {
Expand Down

0 comments on commit f9dbf4a

Please sign in to comment.