4 ms·
This does happen in practice. Usually it is remedied by submitting an issue or a PR to your dependency upstream and getting them to fix it. If you're really im
by loa_in_ 5y ago
This does happen in practice. Usually it is remedied by submitting an issue or a PR to your dependency upstream and getting them to fix it.
If you're really impatient you can implement the trait yourself (with some hacking involved): wrap the type in a new struct and implement the trait there.
Why hacking around like that? Rust requires at least one of: the type, or the trait; to be originated in your crate.