Skip to content

Commit

Permalink
Avoid _ => false
Browse files Browse the repository at this point in the history
  • Loading branch information
CPunisher committed Sep 7, 2024
1 parent 0341ed3 commit 2af734d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -780,7 +780,12 @@ impl Repr {
Self::ArcStr(arc_str) => arc_str.is_empty(),
Self::ArcString(arc_string) => arc_string.is_empty(),
Self::StaticStr(s) => s.is_empty(),
_ => false,
Self::Inline1 { .. } => false,
Self::Inline2 { .. } => false,
Self::Inline4 { .. } => false,
Self::Inline8 { .. } => false,
Self::Inline16 { .. } => false,
Self::Inline32 { .. } => false,
}
}

Expand Down

0 comments on commit 2af734d

Please sign in to comment.