From c492fa3234aebaeb5cff406bbf994c80fdc141db Mon Sep 17 00:00:00 2001 From: Stephen Chung Date: Wed, 16 Jun 2021 19:02:37 +0800 Subject: [PATCH] Do not export SmartString. --- src/lib.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index e4c6b354..28be47e6 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -325,17 +325,12 @@ type StaticVec = smallvec::SmallVec<[T; 4]>; #[cfg(feature = "internals")] pub type StaticVec = smallvec::SmallVec<[T; 4]>; -#[cfg(not(feature = "internals"))] #[cfg(not(feature = "no_smartstring"))] pub(crate) type SmartString = smartstring::SmartString; #[cfg(feature = "no_smartstring")] pub(crate) type SmartString = String; -#[cfg(feature = "internals")] -#[cfg(not(feature = "no_smartstring"))] -pub type SmartString = smartstring::SmartString; - // Compiler guards against mutually-exclusive feature flags #[cfg(feature = "no_float")]