-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade vmm-sys-util to 0.8.0 #28
Upgrade vmm-sys-util to 0.8.0 #28
Conversation
Signed-off-by: Andrei Sandu <[email protected]>
src/primitives.rs
Outdated
// Update Default T with the deserialized header. | ||
std::mem::replace(object.as_mut_fam_struct(), header); | ||
let _ = std::mem::replace(object.as_mut_fam_struct(), header); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you assign the value directly since you are not doing anything with the previous value from the object?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done.
Signed-off-by: Andrei Sandu <[email protected]>
831c3ac
to
2f8eb04
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Signed-off-by: Andrei Sandu <[email protected]>
2f8eb04
to
f3e6dd2
Compare
f3e6dd2
to
f7a1a1e
Compare
Signed-off-by: Alexandru Cihodaru <[email protected]>
f7a1a1e
to
bd5eeb4
Compare
Maybe also update changelog or you can do that in release PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Reason for This PR
Upgrade to latest vmm-sys-util. Fixes rust-vmm/vmm-sys-util#85
Description of Changes
Provided in commit log.
License Acceptance
By submitting this pull request, I confirm that my contribution is made under
the terms of the Apache 2.0 license.
PR Checklist
[Author TODO: Meet these criteria.]
[Reviewer TODO: Verify that these criteria are met. Request changes if not]
git commit -s
).unsafe
code is properly documented.CHANGELOG.md
.