Closed timonv closed 2 days ago
For instance, if you have a Box<dyn SimplePrompt>, you can now clone into an owned copy and more effectively use the available generics. This also works for borrowed trait objects.
Box<dyn SimplePrompt>
For instance, if you have a
Box<dyn SimplePrompt>
, you can now clone into an owned copy and more effectively use the available generics. This also works for borrowed trait objects.