Skip to content

Commit 8125edc

Browse files
author
Andrei Sousa
committed
fix(lint): clippy
1 parent d8dae31 commit 8125edc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/state.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ pub async fn get_vms(state_ptr: StatePtr) -> Vec<Vm> {
1616
let vms = state_ptr.read().await;
1717

1818
let mut new_vms: Vec<Vm> = Vec::new();
19-
for (_, item) in vms.iter().enumerate() {
19+
for item in vms.iter() {
2020
new_vms.push(item.clone());
2121
}
2222

0 commit comments

Comments
 (0)