]> git.lizzy.rs Git - rust.git/commit
Automatically export methods on core numeric types
authorBen Striegel <ben.striegel@gmail.com>
Sun, 24 Jun 2012 04:05:52 +0000 (00:05 -0400)
committerBrian Anderson <banderson@mozilla.com>
Mon, 25 Jun 2012 21:25:48 +0000 (14:25 -0700)
commit43a48ca5bba2698e253d6229139328d353276ee8
tree559837ded01fd12ce960a1a29c1b2246a79b452a
parent07d568688c3a97866439735742bc0f489723a78a
Automatically export methods on core numeric types

Each numeric type now contains an extensions module that is automatically
exported. At the moment each extensions module contains only the impl for the
`num::num` iface. Other impls soon to follow (hopefully).
src/libcore/core.rs
src/libcore/f32.rs
src/libcore/f64.rs
src/libcore/float.rs
src/libcore/int-template.rs
src/libcore/uint-template.rs
src/test/run-pass/numeric-method-autoexport.rs [new file with mode: 0644]