(&self, other: &Self)
| 377 | |
| 378 | impl PartialEq for Cmdline<'_> { |
| 379 | fn eq(&self, other: &Self) -> bool { |
| 380 | let mut our_params = self.iter().collect::<Vec<_>>(); |
| 381 | our_params.sort(); |
| 382 | let mut their_params = other.iter().collect::<Vec<_>>(); |
| 383 | their_params.sort(); |
| 384 | |
| 385 | our_params == their_params |
| 386 | } |
| 387 | } |
| 388 | |
| 389 | impl Eq for Cmdline<'_> {} |