Mastodon Feed: Post

Mastodon Feed

jsonstein@masto.deoan.org ("Jeff Sonstein") wrote:

well now, this is *very* nice:

"The format! macro works like println!, but instead of printing the output to the screen, it returns a String with the contents... the code generated by the format! macro uses references so that this call doesn’t take ownership of any of its parameters."

#LearningRust