From 95416ca00ed3e6150be568426956960487da912f Mon Sep 17 00:00:00 2001 From: Gabe Rodriguez Date: Mon, 9 Mar 2026 14:42:02 +0100 Subject: [PATCH] fix borsh builds for spl-collections string wrappers --- collections/src/str.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/collections/src/str.rs b/collections/src/str.rs index 9d97a4a..7ee0af2 100644 --- a/collections/src/str.rs +++ b/collections/src/str.rs @@ -22,12 +22,12 @@ use { core::{ fmt::{Debug, Formatter}, ops::Deref, - str::from_utf8_unchecked, + str::{from_utf8, from_utf8_unchecked}, }, }; #[cfg(feature = "wincode")] use { - core::{mem::MaybeUninit, str::from_utf8}, + core::mem::MaybeUninit, wincode::{ config::{Config, ConfigCore}, io::Reader,