mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 13:51:31 +00:00
Clippy changes
This commit is contained in:
parent
21f70a7293
commit
6b4ec73b7e
6 changed files with 21 additions and 26 deletions
|
@ -131,7 +131,8 @@ impl CrateGraph {
|
|||
if self.dfs_find(from, to, &mut FxHashSet::default()) {
|
||||
return Err(CyclicDependencies);
|
||||
}
|
||||
Ok(self.arena.get_mut(&from).unwrap().add_dep(name, to))
|
||||
self.arena.get_mut(&from).unwrap().add_dep(name, to);
|
||||
Ok(())
|
||||
}
|
||||
|
||||
pub fn is_empty(&self) -> bool {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue