Closed jhwgh1968 closed 4 years ago
I just realized that I used std::mem::take
in my code without thinking, yet the no_std
build passed. That tells me there is a testing hole.
If you don't mind, I'd like to fix that in a separate PR. I'd like to use this as a bug it could catch.
In fact, this PR removes the
Dynamic::downcast_clone
method entirely.I wrote it just for my macro code, and (based on other recent API changes) it seems to add little value.