Comment on Rust shenanigans: return type polymorphismparentComments−PoignardAzur5yThe best thing is you can do let values: Vec<_> = some().iterator().chain().collect(); // use values for stuff and let the compiler infer what type of values your vec should hold.
Comments
The best thing is you can do
and let the compiler infer what type of values your vec should hold.