Closed cernicc closed 3 months ago
Mock objects cannot automatically implement Clone
. If they did, what should happen to expectations when an object gets cloned? Should the expectations be cloned too? That's not always desirable, and not always even possible. Instead, Mockall treats Clone
like any other trait.
Aha. Good point. Thanks for the quick response
version: 0.12.1
This doesn't work. If I implement the Clone manually it works.