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

Some diffs showing weird private constructors #3

Closed
elliot-u410 opened this issue Nov 12, 2021 · 1 comment
Closed

Some diffs showing weird private constructors #3

elliot-u410 opened this issue Nov 12, 2021 · 1 comment

Comments

@elliot-u410
Copy link

elliot-u410 commented Nov 12, 2021

I'm noticing that if my data has a serde_json::Value in it and then I compare with this library, the diff it produces contains weird constructors like $serde_json::private::Number. This may not strictly be a bug, but it's surprising.

@mitsuhiko
Copy link
Owner

That is an artifact of how rust encodes type names. Nothing I can do about this :(

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

No branches or pull requests

2 participants