diff --git a/thin-str/src/thin_string.rs b/thin-str/src/thin_string.rs index 43218a3aa5..efae58f80f 100644 --- a/thin-str/src/thin_string.rs +++ b/thin-str/src/thin_string.rs @@ -184,11 +184,11 @@ impl fmt::Display for ThinString { } } -impl From<&str> for ThinString { - fn from(string: &str) -> Self { - Self::from_str_in(string, Global) - } -} +// impl From<&str> for ThinString { +// fn from(string: &str) -> Self { +// Self::from_str_in(string, Global) +// } +// } #[cfg(feature = "std")] extern crate std; @@ -212,11 +212,11 @@ mod ext { } } - impl From for ThinString { - fn from(string: String) -> Self { - ThinString::from_str_in(string.as_str(), Global) - } - } + // impl From for ThinString { + // fn from(string: String) -> Self { + // ThinString::from_str_in(string.as_str(), Global) + // } + // } #[cfg(test)] mod tests {