Allow any language literal to boxed Any

Please read @h2co3's blog post The Last Thing Rust Needs.

4 Likes

After all, I think just the map! macro would be useful of my last suggestions here. And set! too, maybe. It's just for readability, not for the purpose of saving characters.

... Just like vec!, but accepting a FromIterator. It can be implemented very easily and I think it doesn't harm the language

(Of course it'll clutter the prelude, but map is different from map!, so it won't break programs in general)

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.