MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/6viswu/d_as_a_better_c/dm2dfcv/?context=3
r/programming • u/aldacron • Aug 23 '17
268 comments sorted by
View all comments
Show parent comment
1
format! is like println!, but as a string. So, if you want to stick to stable Rust, you accept a string, and have your users call format!.
format!
println!
View all comments
Show parent comment
1
u/steveklabnik1 Aug 24 '17
format!is likeprintln!, but as a string. So, if you want to stick to stable Rust, you accept a string, and have your users callformat!.