#rustlang people-- link me to your favorite explanation of slices? what they are & why/when you'd use them or not?
-
-
And the tradeoffs of allocating a new String or T vs. returning a slice?
-
@Carols10cents 10¢ … If you can, return a slice; the caller can clone. Harder: Do you allocate and return or accept an &mut buffer? - 1 more reply
New conversation -
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.