#rustlang annoyance of the day:
Can't write
return (foo, foo.len());
Can write
return (foo.len(), foo);
So instead write:
let len = foo.len();
return (foo, len);
Would be nice if the compiler re-ordered things, given the move can't actually happen before the len call.
Yeah, that’s the default recommended installation. Lets you have multiple versions of rust, helps with cross-compiling, etc. that said, some people still prefer tools like brew
-
-
I think I brew installed rg and that brought rust as a dependency. Trying the alternative now...
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
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.

