Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
PudgePacket
· 6y ago · 0 comments
It's not really important whether it's assigned to a variable or not. It's important that "potentially expensive" operations like memory allocation are obvious. So you either need to call to_string, or call String::new("localhost").
Comments
No comments yet.
Better HN