Closed
Description
Since Path
isn't Show
, it can't be used. This would be useful, for when you're actually comparing some container of Path
, such as Option<Path>
or Vec<Path>
.
As an alternative, I tried .map(|p| p.display())
on both sides, but Display
doesn't impl PartialEq
, so it can't be used either. That means either .as_str().unwrap()
, or just give up on the nicely printed failure and use plain assert!
Metadata
Metadata
Assignees
Labels
No labels