Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
ParkMyCar committed May 27, 2022
1 parent 5934dfa commit fe26a72
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions compact_str/src/traits.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ pub trait ToCompactString {
/// * [`CompactString`] does not contain any lifetime
/// * [`CompactString`] is 'static
/// * [`CompactString`] is a container to `u8`, which is `LifetimeFree`.
///
unsafe impl LifetimeFree for CompactString {}
unsafe impl LifetimeFree for Repr {}

Expand All @@ -67,7 +66,6 @@ unsafe impl LifetimeFree for Repr {}
/// * `String`, `CompactString`
/// * `f32`, `f64`
/// * For floats we use [`ryu`] crate which sometimes provides different formatting than [`std`]
///
impl<T: fmt::Display> ToCompactString for T {
#[inline]
fn to_compact_string(&self) -> CompactString {
Expand Down

0 comments on commit fe26a72

Please sign in to comment.