Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Properly implement Clone for SharedObserver
When using an auto derive to implement a trait such as Clone on a generic object, the code emitted will contain a constraint like: T: Clone. That is a problem for our SharedObserver, because our inner Observer does not implement Clone, and that is fine and desired. In order to work around this problem (known upstream as [issue 64417][]) we need to implement Clone for SharedObserver manually. [issue 64417]: rust-lang/rust#64417
- Loading branch information