-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: impl Show for Failure #1364
base: main
Are you sure you want to change the base?
Conversation
Here are three observations from the provided
These observations should be reviewed to ensure code clarity, correctness, and maintainability. |
Pull Request Test Coverage Report for Build 4322Details
💛 - Coveralls |
Should we include the name of the constructor? |
@@ -136,6 +136,18 @@ pub impl Show for String with output(self, logger) { | |||
///| | |||
pub impl Show for String with to_string(self) { self } | |||
|
|||
///| | |||
pub impl Show for Failure with to_string(self) { | |||
let Failure(msg) = self |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
to_string has a default implementation, this is not needed
No description provided.