Closed
Description
https://github.com/exercism/rust/tree/main/exercises/practice/clock
Consider informing the user that they need to implement the Debug and PartialEq traits. Tests would obviously indicate this.
For additional learning, consider how you might implement String::from for the Clock type. You don't have to actually implement this—it's redundant with Display, which is generally the better choice when the destination type is String—but it's useful to have a few type-conversion traits in your toolkit.
Also, is this accurate?
Still learning rust, but happy to do a PR with some guidance.
Metadata
Metadata
Assignees
Labels
No labels