Y
Hacker News
new
|
ask
|
show
|
jobs
by
kibwen
2964 days ago
There's intentionally no heap allocation or virtual dispatch when using `impl Trait`; if we were content with that, we wouldn't have bothered implementing it and just continued on as we were with `Box<Trait>`. :P