diff options
Diffstat (limited to 'crates')
-rw-r--r-- | crates/ra_tt/src/buffer.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_tt/src/buffer.rs b/crates/ra_tt/src/buffer.rs index 995c9f90b..5659aeae8 100644 --- a/crates/ra_tt/src/buffer.rs +++ b/crates/ra_tt/src/buffer.rs | |||
@@ -179,6 +179,6 @@ impl<'a> Cursor<'a> { | |||
179 | /// Check whether it is a top level | 179 | /// Check whether it is a top level |
180 | pub fn is_root(&self) -> bool { | 180 | pub fn is_root(&self) -> bool { |
181 | let entry_id = self.ptr.0; | 181 | let entry_id = self.ptr.0; |
182 | return entry_id.0 == 0; | 182 | entry_id.0 == 0 |
183 | } | 183 | } |
184 | } | 184 | } |