1
Fork 0
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:
Roy Ivy III 2019-12-28 12:08:03 -06:00
parent c6e9808224
commit 3c2e609bfe

View file

@ -185,7 +185,7 @@ impl Graph {
} }
fn is_acyclic(&self) -> bool { fn is_acyclic(&self) -> bool {
for (_, edges) in &self.out_edges { for edges in self.out_edges.values() {
if !edges.is_empty() { if !edges.is_empty() {
return false; return false;
} }