For Box<dyn Foo> in @rustlang, Box is such a strong marker that "dyn" is noise. I can think of two cases where I reach for a Box.
1. Dynamic dispatch.
2. FFI stuff, juggling pointers.
Whenever I see "Box", I know something is up. No dyn needed. I'm grateful it's not required.
Replying to @algstn
Box is not the only way to create a trait object
8:28 AM - 28 Jan 2019
0 replies
0 retweets
7 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.