Re:My favorite Rust function
by saagarjha on Saturday October 12, 2019 @06:56PM
(#21236948)
It’s a bit ugly because the standard library functions are replete with underscores, and of course it isn’t empty. But I still think it’s quite surprising, as most people would think it actually does some sort of semantic “move”.
[ Parent
| on HN ]
> It’s a bit ugly because the standard library functions are replete with underscores, and of course it isn’t empty.
I'll be honest, neither of those are my top issue with that in terms of why I think it's ugly.