From adcd62395f0a7ef785b9c1f2edfa8998aa9922a2 Mon Sep 17 00:00:00 2001 From: Pierre Chifflier Date: Thu, 14 Nov 2024 17:30:31 +0100 Subject: [PATCH] Fix build with nostd --- src/asn1_types/any.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/asn1_types/any.rs b/src/asn1_types/any.rs index a47bcd7..c9a2f04 100644 --- a/src/asn1_types/any.rs +++ b/src/asn1_types/any.rs @@ -2,7 +2,7 @@ use crate::ber::*; use crate::*; use alloc::borrow::Cow; #[cfg(not(feature = "std"))] -use alloc::string::String; +use alloc::string::{String, ToString}; use core::convert::{TryFrom, TryInto}; use self::debug::trace;