When shall I use some_var.dup and when not? Is there any guidlines?--Qian
Yeah when you want one to be different than the other. If the lvalue is a slice then there is no need though.
When shall I use some_var.dup and when not? Is there any guidlines?--Qian
Yeah when you want one to be different than the other. If the lvalue is a slice then there is no need though.