News for hackers. Stuff that matters.
Re:Why your first Rust FizzBuzz implementation may not work by chrismorgan on Sunday October 12, 2014 @11:08PM (#8447353)
And that indeed is the real distinction between what Rust has and what other languages tend to have—the fact that &str doesn’t have its own storage. The equivalent to string types in other languages would be more like SendStr.

That functions produce Strings and consume slices is a good way of expressing it.

There are no comments on this comment yet.