Skip to content
This repository was archived by the owner on Feb 27, 2026. It is now read-only.

Commit 732eb81

Browse files
roypatalxiord
authored andcommitted
Fix needless borrow
With updated rust-vmm-ci we have more clippy lints to appease, this commit fixes them up. Signed-off-by: Patrick Roy <roypat@amazon.co.uk>
1 parent 50c5df0 commit 732eb81

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/primitives.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -654,7 +654,7 @@ mod tests {
654654
_box: Box::new("Box".to_owned()),
655655
};
656656

657-
bincode::serialize_into(&mut snapshot_mem.as_mut_slice(), &test_struct).unwrap();
657+
bincode::serialize_into(snapshot_mem.as_mut_slice(), &test_struct).unwrap();
658658

659659
let restored_state: TestCompatibility =
660660
Versionize::deserialize(&mut snapshot_mem.as_slice(), &vm, 1).unwrap();

0 commit comments

Comments
 (0)