Not sure what to do about @rustlang ... I can't figure out how to return a string from a function. How pathetic is that?
-
-
I appreciate that; I was frustrated and maybe more whiny than I should have been. I’m trying to implement the 12 days of Christmas a la the tutorial. I can’t create a function that simple returns a string... not even `return "x"`.
-
I’m trying to build a string. I’ve seen solutions that have functions that simply print it out, but I’m not satisfied with that or it wasn’t what I originally thought of.
- 4 more replies
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.