Reduce usage of String in translations code.#524
Reduce usage of String in translations code.#524GyulyVGC merged 7 commits intoGyulyVGC:mainfrom CosminPerRam:remove_to_string_extra_occurences
String in translations code.#524Conversation
|
Thanks! While you are at it, would you mind updating all the translations methods to return an I think there are some cases where I actually don't need them to be strings, so this should be more efficient. In cases |
to_string calls.String in translations code.
|
Although there is a mix usage of |
I agree, and I'm fine with this. |
|
@all-contributors please add @CosminPerRam for code. |
|
I've put up a pull request to add @CosminPerRam! 🎉 |
This is a part of #523 (the non-lint part of it).
This PR removes an unnecessary
to_stringcall on an alreadyStringvalue and replaces per-item.to_string()with an entire match block.to_string().