Skip to content
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

future-proof: remove write! from the public API #83

Merged
merged 4 commits into from
Aug 10, 2020
Merged

Conversation

japaric
Copy link
Member

@japaric japaric commented Aug 7, 2020

instead only #[derive(Format)] is to be used to implement the Format trait

rationale is in #82
also we didn't spec the enum format in the user guide part of the book so users would had not been able to implement Format for enums using write!

instead only `#[derive(Format)]` is to be used to implement the `Format` trait
japaric and others added 2 commits August 10, 2020 16:13
Co-authored-by: Jonas Schievink <jonas.schievink@ferrous-systems.com>
@jonas-schievink jonas-schievink merged commit 8fe95d9 into main Aug 10, 2020
@jonas-schievink jonas-schievink deleted the hide-write branch August 10, 2020 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants