Skip to content

Commit 75b5005

Browse files
fix clippy
1 parent 72596aa commit 75b5005

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/analysis/src/model/roots.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,11 @@ impl<'a> RootTraces for &'a Vec<Node> {
6767
fn root_traces(self) -> Self::Result {
6868
fn roots_into<'a>(
6969
nodes: impl IntoIterator<Item = &'a Node>,
70-
parents: &Vec<(&'a BaseSummary, Relationship)>,
70+
parents: &[(&'a BaseSummary, Relationship)],
7171
result: &mut Vec<Vec<(&'a BaseSummary, Relationship)>>,
7272
) {
7373
for node in nodes.into_iter() {
74-
let mut next = parents.clone();
74+
let mut next = parents.to_owned();
7575

7676
// if we don't have a relationship to the parent node, we are the initial node
7777
// and will be skipped

0 commit comments

Comments
 (0)