1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2024-09-16 10:51:42 +02:00

Fix Display for Exercise

This commit is contained in:
mo8it 2024-04-12 19:07:17 +02:00
parent 44824718b2
commit 9b0eeb815a

View File

@ -117,7 +117,7 @@ impl Exercise {
impl Display for Exercise {
fn fmt(&self, f: &mut Formatter) -> fmt::Result {
self.path.fmt(f)
Display::fmt(&self.path.display(), f)
}
}