rustfmt
This commit is contained in:
1 file changed
+2
-4
@@ -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,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user