Skip to content

Conversation

mitsuhiko
Copy link

I believe this is necessary to recover correctly from serialization errors (Refs #257)

@jdm
Copy link
Member

jdm commented Feb 12, 2020

This looks sensible. Could you add a unit test to src/tests.rs that exercises this?

@mitsuhiko
Copy link
Author

@jdm I'm honestly not really sure how to best test this. What it modifies is not exposed.

@nox
Copy link
Contributor

nox commented Mar 10, 2020

Bad things can still happen if T::serialize panics.

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.

3 participants