more idiomatic naming
This commit is contained in:
+1
-1
@@ -33,7 +33,7 @@ impl Entry {
|
||||
}
|
||||
|
||||
/// Is this node a leaf.
|
||||
pub fn is_leaf(&self) -> bool {
|
||||
pub fn leaf(&self) -> bool {
|
||||
if let EntryKind::Leaf = self.kind { true } else { false }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user