asomers / mockall

A powerful mock object library for Rust
Apache License 2.0
1.5k stars 62 forks source link

docs: add some docs about using mock! to mock clone derives #390

Closed TomPridham closed 2 years ago

TomPridham commented 2 years ago

i was questioning how to mock #[derive(Clone)] and saw there were a few issues with people wondering the same thing. hopefully this clears up future questions