We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
PartialEq
1 parent c98f801 commit 6595eebCopy full SHA for 6595eeb
src/vmm/src/resources.rs
@@ -600,28 +600,6 @@ mod tests {
600
}
601
602
603
- impl PartialEq for BootConfig {
604
- fn eq(&self, other: &Self) -> bool {
605
- self.cmdline.eq(&other.cmdline)
606
- && self.kernel_file.metadata().unwrap().st_ino()
607
- == other.kernel_file.metadata().unwrap().st_ino()
608
- && self
609
- .initrd_file
610
- .as_ref()
611
- .unwrap()
612
- .metadata()
613
614
- .st_ino()
615
- == other
616
617
618
619
620
621
622
- }
623
624
-
625
#[test]
626
fn test_from_json() {
627
let kernel_file = TempFile::new().unwrap();
0 commit comments