Support (de-)serializing flattened unit struct#2802
Conversation
| #[test] | ||
| fn test_flatten_unit_struct() { |
There was a problem hiding this comment.
It would be great if new flatten tests were added to the flatten module in the end of this file. Just my opinion
dtolnay
left a comment
There was a problem hiding this comment.
Thanks!
I would accept a follow-up PR to move the flatten tests (including the existing ones adjacent to the one being added here).
@dtolnay , great to hear that. What about moving other connected tests to made them located near to each other? #2788 does that for internally tagged enum tests and I working on similar PR for adjacently tagged enum tests. |
|
Sure thing! I also tried to trim the names down to avoid as much stuttering now that they're under the |
Fixes #2801.