pass clippy
This commit is contained in:
1 parent
0f2ff34a30
commit
ffc9bf763a
6 files changed
+53
-55
No files matched your search
@@ -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(_))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user