This commit is contained in:
Wez Furlong committed 2023-03-22 20:05:25 -07:00
1 parent dc36fe18f4
commit 287026cfa0
1 file changed
+2 -4
+2 -4
View File
@@ -157,10 +157,8 @@ impl<'a> Performer<'a> {
fn makes_sense_to_wrap(s: &str) -> bool {
let len = s.len();
match (len, s.chars().next()) {
(1, Some(c)) => {
c.is_alphanumeric() || c.is_ascii_punctuation()
}
_ => true
(1, Some(c)) => c.is_alphanumeric() || c.is_ascii_punctuation(),
_ => true,
}
}