Skip to content

Commit

Permalink
Merge pull request #605 from mkroening/unnecessary_fallible_conversions
Browse files Browse the repository at this point in the history
refactor: fix clippy::unnecessary_fallible_conversions
  • Loading branch information
mkroening authored Jan 2, 2024
2 parents 4062d57 + b4d0d85 commit 0bc0d0f
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 0bc0d0f

Please sign in to comment.