mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 05:15:04 +00:00
Fix clippy::needless_return
This commit is contained in:
parent
ecd420636e
commit
dddcb0ad94
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue