eplace usages of vec![].into_iter with [].into_iter
This commit is contained in:
parent
23ce5fc465
commit
08829853d3
36 changed files with 116 additions and 122 deletions
|
@ -56,7 +56,7 @@ impl NodeLabels<&'static str> {
|
|||
match self {
|
||||
UnlabelledNodes(len) => vec![None; len],
|
||||
AllNodesLabelled(lbls) => lbls.into_iter().map(Some).collect(),
|
||||
SomeNodesLabelled(lbls) => lbls.into_iter().collect(),
|
||||
SomeNodesLabelled(lbls) => lbls,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue