Skip to content

Commit 5b0335e

Browse files
Kimundibrson
authored andcommitted
Added generic string <-> number conversion functions to core::num.
They unify the different implementations that exists in int-template.rs, uint-template.rs and float.rs into one pair of functions, which are also in principle usable for anything that implements the necessary numeric traits. Their usage is somewhat complex due to the large amount of arguments each one takes, but as they're not meant to be used directly that shouldn't be a problem.
1 parent bb9c3ed commit 5b0335e

File tree

1 file changed

+537
-3
lines changed

1 file changed

+537
-3
lines changed

0 commit comments

Comments
 (0)