From 277d9810416762088b28f0a8950f90c37f192df1 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Wed, 2 Oct 2019 11:13:33 -0700 Subject: [PATCH] Rewrite another `std::string::String` to `alloc`. --- cranelift/bforest/src/map.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cranelift/bforest/src/map.rs b/cranelift/bforest/src/map.rs index fb7d4d9ddf..7d7e456623 100644 --- a/cranelift/bforest/src/map.rs +++ b/cranelift/bforest/src/map.rs @@ -6,7 +6,7 @@ use crate::packed_option::PackedOption; use core::fmt; use core::marker::PhantomData; #[cfg(test)] -use std::string::String; +use alloc::string::String; /// Tag type defining forest types for a map. struct MapTypes(PhantomData<(K, V)>);