Skip to content

Conversation

sidneychang
Copy link
Contributor

  • replace Error::new(ErrorKind::Other, ...) with Error::other(...)
  • replace iter().map(|(_, v)| v.clone()) with values().map(|v| v.clone())
  • add explicit '_ lifetime in return type

@sidneychang sidneychang force-pushed the fix_clippy_issue branch 3 times, most recently from 9aeb8da to 1ee418a Compare August 14, 2025 07:28
- replace Error::new(ErrorKind::Other, ...) with Error::other(...)
- replace iter().map(|(_, v)| v.clone()) with values().map(|v| v.clone())
- add explicit `'_` lifetime in IoctlData return type
- ensures compatibility with clippy --deny warnings on newer Rust
Copy link
Collaborator

@imeoer imeoer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@imeoer imeoer merged commit 0edf34e into cloud-hypervisor:master Aug 15, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants