We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I would love to be able to do this:
#[derive(Display)] #[display("{major}.{minor}.{patch}")] pub struct Version { major: usize, minor: usize, patch: usize, }
instead of
#[derive(Display)] #[display(fmt = "{}.{}.{}", major, minor, patch)] pub struct Version { major: usize, minor: usize, patch: usize, }
thiserror allows the first example, so it should be possible to be implemented.
thiserror
The text was updated successfully, but these errors were encountered:
I would definitly like to have this feature, feel free to open a PR implementing it.
Sorry, something went wrong.
@JelteF I believe this has been fully covered by #182
Successfully merging a pull request may close this issue.
I would love to be able to do this:
instead of
thiserror
allows the first example, so it should be possible to be implemented.The text was updated successfully, but these errors were encountered: