Skip to content

Commit

Permalink
Fix typo (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
yunjhongwu authored Dec 3, 2023
1 parent 04a6e90 commit 4e4fc29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ struct Second(f64);

impl Display for Second {
fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
write!(f, "Mile({:.2})", &self.0)
write!(f, "Second({:.2})", &self.0)
}
}

Expand Down

0 comments on commit 4e4fc29

Please sign in to comment.