From ad88601a91f06648f177eac504de3244e0887f53 Mon Sep 17 00:00:00 2001 From: Paul Schoenfelder Date: Mon, 18 Mar 2024 13:17:58 -0400 Subject: [PATCH] fix: re-add unintentionally removed re-exported liballoc macros --- utils/core/src/collections.rs | 2 +- utils/core/src/string.rs | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/utils/core/src/collections.rs b/utils/core/src/collections.rs index 00deb5eda..b7d2694b1 100644 --- a/utils/core/src/collections.rs +++ b/utils/core/src/collections.rs @@ -6,4 +6,4 @@ //! Feature-based re-export of common collection components. pub use alloc::collections::{btree_map, btree_set, BTreeMap, BTreeSet}; -pub use alloc::vec::{self as vec, Vec}; +pub use alloc::{vec, vec::Vec}; diff --git a/utils/core/src/string.rs b/utils/core/src/string.rs index e2ff9cac3..122608381 100644 --- a/utils/core/src/string.rs +++ b/utils/core/src/string.rs @@ -5,4 +5,7 @@ //! Feature-based re-export of common string components. -pub use alloc::string::{String, ToString}; +pub use alloc::{ + format, + string::{String, ToString}, +};