Fix clippy::needless_return

This commit is contained in:
Alan Du 2019-06-03 10:01:27 -04:00
parent ecd420636e
commit dddcb0ad94

View File

@ -179,6 +179,6 @@ impl<'a> Cursor<'a> {
/// Check whether it is a top level /// Check whether it is a top level
pub fn is_root(&self) -> bool { pub fn is_root(&self) -> bool {
let entry_id = self.ptr.0; let entry_id = self.ptr.0;
return entry_id.0 == 0; entry_id.0 == 0
} }
} }