Hi, I've started using rusty_money on a work project and have come across a number of improvements that i want to make.
To get into the swing of things, I want to change the String arguments to the more idiomatic &str as this avoids the caller having to convert to String when using literals etc call_func("literal".into()) and also avoids unnecessary heap allocations.
Hi, I've started using rusty_money on a work project and have come across a number of improvements that i want to make. To get into the swing of things, I want to change the
String
arguments to the more idiomatic&str
as this avoids the caller having to convert toString
when using literals etccall_func("literal".into())
and also avoids unnecessary heap allocations.