Pre-RFC Proposes Conversion from Trait Slices to Dynamic Trait Objects
A new pre-RFC suggests enabling conversion from slices of trait objects to dynamic trait objects in Rust. This proposal aims to allow functions to accept slices of trait objects and convert them into dynamic trait objects, thereby offering more flexibility in function signatures. If accepted, this change could simplify code that deals with collections of trait objects by reducing the need for intermediate conversions. This could lead to cleaner APIs and potentially better performance in scenarios involving trait object manipulations.