chore: clean up the repo some
This commit is contained in:
1 parent
5a0ae67ccb
commit
5673017def
13 files changed
+30
-27
No files matched your search
@@ -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(_)])
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user