-
Notifications
You must be signed in to change notification settings - Fork 87
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
Consider removing O
type parameter of serialize_with_flavor
#103
Comments
I can't tell whether this was a stylistic choice or oversight. My preference is for |
As far as I can tell - this was likely an oversight, probably an artifact implementing flavors and never stepping back and realizing that those (always?) are the same type. I do think this would be a breaking change as you noted in #105, but I'm tagging it with the 2.0 label so I don't forget to clean this up on the next major release. |
postcard::serialize_with_flavor
is written in an odd way that makes the caller restate the Flavor's Output type explicitly when using turbofish.postcard/src/ser/mod.rs
Lines 367 to 370 in a0ef8a2
The text was updated successfully, but these errors were encountered: