News for hackers. Stuff that matters.
Re:Rust 1.49.0 by glandium on Thursday December 31, 2020 @07:11PM (#25598909)
try &*my_str
Re:Rust 1.49.0 by Measter on Friday January 01, 2021 @10:35AM (#25603937)
Yes, that's the trivial "fix" to make it work, but that's not my point. In most other similar situations the compiler does that for me, but not here. It feels like something the compiler should be doing, not me.