Mingun
Mingun
@dtolnay, @oli-obk mind to merge this very simple optimization (the second commit does the job). Expanding of `variant_arms` variable performed twice which creates duplication. The effect especially visible when struct...
I hope, that before landing this, you will look at least an one implementation for a format other than JSON-like. I can help with testing this approach in quick-xml.
> I also get this issue, and it seems to show up in cases where several dependencies have to be checked or indexed by rust-analyzer before anything can be done....
@ChayimFriedman2, however, this is what rust-analyzer reports as an error, explicitly (I mean, that in the tooltip with error you can see something like `CrateId(serde) -> CrateId(serde_derive) -> CrateId(serde)`), and...
This is already should be implemented, [inference-match-result](https://github.com/peggyjs/peggy/blob/7c6e0c794543a3a31103558c7731eb3d4ae19fe5/lib/compiler/passes/inference-match-result.js) pass does the job. You found an example where something else can be removed?
That case [a quite hard to resolve](https://github.com/tafia/quick-xml/issues/497#issuecomment-1321220134) and maybe all that we can do is document how each possible behaviour could be achieved using serde attributes.
Yes, I plan to do such intermediate interface, I outlined a very brief sketch of it in https://github.com/tafia/quick-xml/pull/766#issuecomment-2198637734
I have a very WIP branch [validation](https://github.com/Mingun/quick-xml/tree/validation) with of my vision for well-formedness checking. The main idea to introduce validation iterator for each event which will return errors and you...
I'm open for suggestions.
My proposed API would look like: ```rust match reader.read_event()?.validated()? { ... } ``` You will able to run checks only if you need them. If you are sure that XML...