mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-12-09 10:55:42 +00:00
a few clippy fixes
This commit is contained in:
parent
e52d47a3b8
commit
35de195c41
5 changed files with 9 additions and 5 deletions
|
|
@ -57,7 +57,7 @@ mod tests {
|
|||
.unwrap()
|
||||
.expect("no declaration or definition found")
|
||||
.info;
|
||||
if navs.len() == 0 {
|
||||
if navs.is_empty() {
|
||||
panic!("unresolved reference")
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue