mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-27 19:17:43 +00:00
fix(clippy): inefficient_to_string
This commit is contained in:
parent
a7ae477a7e
commit
4afeb628a4
1 changed files with 1 additions and 1 deletions
|
@ -218,7 +218,7 @@ impl<'input> Graph<'input> {
|
|||
let cycle = self.detect_cycle();
|
||||
show!(TsortError::Loop(self.name.clone()));
|
||||
for node in &cycle {
|
||||
show!(TsortError::LoopNode(node.to_string()));
|
||||
show!(TsortError::LoopNode((*node).to_string()));
|
||||
}
|
||||
let u = cycle[0];
|
||||
let v = cycle[1];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue