Re:Zero to Production in Rust
by phibz on Saturday June 05, 2021 @03:21PM
(#27407810)
I find it easier to either use conditional compilation or traits for test substitutes. Using dynamic dispatch for it is more trouble than it's worth IMO.
[ Parent
| on HN ]
There are no comments on this comment yet.