pass clippy

This commit is contained in:
Evan Almloff committed 2022-06-17 13:50:41 -05:00
1 parent 0f2ff34a30
commit ffc9bf763a
6 files changed
+53 -55

No files matched your search

+1 -4
View File
@@ -25,10 +25,7 @@ pub enum BodyNode {
impl BodyNode {
pub fn is_litstr(&self) -> bool {
match self {
BodyNode::Text(_) => true,
_ => false,
}
matches!(self, BodyNode::Text(_))
}
}