mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-08-04 15:07:47 +00:00
refactor/polish ~ fix cargo clippy
complaints (use values()
)
This commit is contained in:
parent
c6e9808224
commit
3c2e609bfe
1 changed files with 1 additions and 1 deletions
|
@ -185,7 +185,7 @@ impl Graph {
|
|||
}
|
||||
|
||||
fn is_acyclic(&self) -> bool {
|
||||
for (_, edges) in &self.out_edges {
|
||||
for edges in self.out_edges.values() {
|
||||
if !edges.is_empty() {
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue