Skip to content

Commit

Permalink
intentionally break build to see what needs this
Browse files Browse the repository at this point in the history
  • Loading branch information
morrisonlevi committed Dec 16, 2024
1 parent d1102c7 commit 5d13085
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions thin-str/src/thin_string.rs
Original file line number Diff line number Diff line change
Expand Up @@ -184,11 +184,11 @@ impl fmt::Display for ThinString<Global> {
}
}

impl From<&str> for ThinString<Global> {
fn from(string: &str) -> Self {
Self::from_str_in(string, Global)
}
}
// impl From<&str> for ThinString<Global> {
// fn from(string: &str) -> Self {
// Self::from_str_in(string, Global)
// }
// }

#[cfg(feature = "std")]
extern crate std;
Expand All @@ -212,11 +212,11 @@ mod ext {
}
}

impl From<String> for ThinString<Global> {
fn from(string: String) -> Self {
ThinString::from_str_in(string.as_str(), Global)
}
}
// impl From<String> for ThinString<Global> {
// fn from(string: String) -> Self {
// ThinString::from_str_in(string.as_str(), Global)
// }
// }

#[cfg(test)]
mod tests {
Expand Down

0 comments on commit 5d13085

Please sign in to comment.