Skip to content

Commit

Permalink
is this the real life? is this just clippy?
Browse files Browse the repository at this point in the history
  • Loading branch information
gjcolombo committed Dec 18, 2024
1 parent 488bc6a commit edee9dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/propolis-server/src/lib/stats/virtual_machine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ impl KstatTarget for VirtualMachine {
.find_map(|(_, kstat, data)| {
kstat_instance_from_instance_id(kstat, data, &self.vm_name)
})
.ok_or_else(|| Error::NoSuchKstat)?;
.ok_or(Error::NoSuchKstat)?;

// Armed with the kstat instance, find all relevant metrics related to
// this particular VM. For now, we produce only vCPU usage metrics, but
Expand Down
2 changes: 1 addition & 1 deletion phd-tests/framework/src/guest_os/windows.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ impl WindowsVm<'_> {
}
}

impl<'a> std::ops::Deref for WindowsVm<'a> {
impl std::ops::Deref for WindowsVm<'_> {
type Target = TestVm;

fn deref(&self) -> &Self::Target {
Expand Down

0 comments on commit edee9dd

Please sign in to comment.