From 6536231dfc213be7bbb7f7e6a0ab14745a8831c5 Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Wed, 15 Nov 2023 09:09:37 -0700 Subject: [PATCH] Fix no_std compilation --- src/edit/editor.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/edit/editor.rs b/src/edit/editor.rs index 80fb525..a7693af 100644 --- a/src/edit/editor.rs +++ b/src/edit/editor.rs @@ -1,7 +1,7 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 #[cfg(not(feature = "std"))] -use alloc::string::String; +use alloc::string::{String, ToString}; use core::{ cmp::{self, Ordering}, iter::once,