about summary refs log tree commit diff
path: root/src/rt/rust_kernel.cpp
diff options
context:
space:
mode:
authorMarvin Löbel <loebel.marvin@gmail.com>2013-01-27 03:13:33 +0100
committerBrian Anderson <banderson@mozilla.com>2013-02-03 15:37:24 -0800
commit5b0335ec8e14ede924c45eac3b08c66191bfc04a (patch)
tree5933af4229d230e2faa21c29370eaf083ce4ed6c /src/rt/rust_kernel.cpp
parentbb9c3ed8764077455b6e726ba49c9845e03f4f0c (diff)
downloadrust-5b0335ec8e14ede924c45eac3b08c66191bfc04a.tar.gz
rust-5b0335ec8e14ede924c45eac3b08c66191bfc04a.zip
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.
Diffstat (limited to 'src/rt/rust_kernel.cpp')
0 files changed, 0 insertions, 0 deletions