]> git.lizzy.rs Git - rust.git/commit
core: Shuffle around float parsing
authorAlex Crichton <alex@alexcrichton.com>
Mon, 17 Aug 2015 21:16:41 +0000 (14:16 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Tue, 18 Aug 2015 02:35:52 +0000 (19:35 -0700)
commita2b932c0b614aa5a68f7d24977fab241998a89ef
treec1641403f5a09d5bdad31b4389a2d3390f63baf2
parent5990249e48efe285fb37be104697af7e68cb3013
core: Shuffle around float parsing

Stop using stability to hide the implementation details of ParseFloatError and
instead move the error type into the `dec2flt` module. Also move the
implementation blocks of `FromStr for f{32,64}` into `dec2flt` directly.
src/libcore/num/dec2flt/mod.rs
src/libcore/num/float_macros.rs
src/libcore/num/mod.rs
src/libcoretest/atomic.rs
src/libcoretest/num/dec2flt/mod.rs
src/libcoretest/num/uint_macros.rs
src/test/compile-fail/issue-1920-1.rs
src/test/compile-fail/issue-1920-2.rs
src/test/compile-fail/issue-1920-3.rs