chore: clean up the repo some

This commit is contained in:
Jonathan Kelley committed 2022-12-06 17:50:25 -08:00
1 parent 5a0ae67ccb
commit 5673017def
13 files changed
+30 -27

No files matched your search

+1 -4
View File
@@ -21,10 +21,7 @@ pub struct IfmtInput {
impl IfmtInput {
pub fn is_static(&self) -> bool {
match self.segments.as_slice() {
&[Segment::Literal(_)] => true,
_ => false,
}
matches!(self.segments.as_slice(), &[Segment::Literal(_)])
}
}