From f9dbf4a269c0c479deb257f20a9031aa2f7a3023 Mon Sep 17 00:00:00 2001 From: Daniel Knopik Date: Tue, 28 Jan 2025 17:45:47 +0100 Subject: [PATCH] use `TryFrom` from `core` instead of `std` --- bindings/rust/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/rust/src/lib.rs b/bindings/rust/src/lib.rs index fd915bf5..6043bd98 100644 --- a/bindings/rust/src/lib.rs +++ b/bindings/rust/src/lib.rs @@ -788,7 +788,7 @@ macro_rules! sig_variant_impl { } } - impl std::convert::TryFrom for SecretKey { + impl core::convert::TryFrom for SecretKey { type Error = BLST_ERROR; fn try_from(value: blst_scalar) -> Result {