News for hackers. Stuff that matters.
Re:Rust: Enums to Wrap Multiple Errors by stormbrew on Friday October 08, 2021 @12:21PM (#28801029)
huh that's cool. If it also had a "better derive(Default)" as well I'd probably end up using this in almost everything I write tbh.
Re:Rust: Enums to Wrap Multiple Errors by onei on Friday October 08, 2021 @02:15PM (#28802318)
The downside to derive_more from what I can tell is that it impacts compile times fairly noticeably compared to the equivalent handwritten code. YMMV, but I've seen it removed from some crates for that specific reason.