Y
Hacker News
new
|
ask
|
show
|
jobs
by
PoignardAzur
1891 days ago
The 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.