The source project of this merge request has been removed.
Use `format!` instead of numtoa and concat
This is a revival of seemingly abandoned MR !184. I just rebased it and bumped libredox dependency. Original description follows:
The use of numtoa
is not necessary; it adds an extra dependency and extra binary size.
-
[..., numtoa, ...].concat()
is replaced with aformat!
-- allocation is necessary for concat anyway -
From<...> for String
is replaced with theto_string()
method to reuse the existingDisplay
impl