Skip to content

Commit

Permalink
refactor: fix clippy::unnecessary_fallible_conversions
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Kröning <martin.kroening@eonerc.rwth-aachen.de>
  • Loading branch information
mkroening committed Jan 2, 2024
1 parent 4062d57 commit b4d0d85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/linux/uhyve.rs
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ impl Vm for Uhyve {
id,
self.path.clone(),
self.args.clone(),
self.vm.create_vcpu(id.try_into().unwrap())?,
self.vm.create_vcpu(id.into())?,
self.mem.host_address,
self.virtio_device.clone(),
))
Expand Down

0 comments on commit b4d0d85

Please sign in to comment.