Skip to content

Commit

Permalink
fix(lint): clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrei Sousa committed Jan 5, 2024
1 parent d8dae31 commit 8125edc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ pub async fn get_vms(state_ptr: StatePtr) -> Vec<Vm> {
let vms = state_ptr.read().await;

let mut new_vms: Vec<Vm> = Vec::new();
for (_, item) in vms.iter().enumerate() {
for item in vms.iter() {
new_vms.push(item.clone());
}

Expand Down

0 comments on commit 8125edc

Please sign in to comment.