Replies: 1 comment
-
The question is what to compare. For a document, to literally compare would be to check insignificant details. Now |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I wanted to implement a check to see if a TOML file has changed in a semantically meaningful way, so I went to compare two parsed
Document
s, but it looks like there's no implementation ofEq
orPartialEq
for most of the structurally significant types. I'm assuming there's a good reason for this.Is it "wrong" or complicated to check equality of these types? Should I be using a different crate to do this?
Beta Was this translation helpful? Give feedback.
All reactions