diff --git a/crates/ra_tt/src/buffer.rs b/crates/ra_tt/src/buffer.rs index 995c9f90be5..5659aeae8bf 100644 --- a/crates/ra_tt/src/buffer.rs +++ b/crates/ra_tt/src/buffer.rs @@ -179,6 +179,6 @@ impl<'a> Cursor<'a> { /// Check whether it is a top level pub fn is_root(&self) -> bool { let entry_id = self.ptr.0; - return entry_id.0 == 0; + entry_id.0 == 0 } }