about summary refs log tree commit diff
path: root/src/libstd/std.rc
diff options
context:
space:
mode:
authorStefan Plantikow <stefan.plantikow@googlemail.com>2011-12-08 19:30:57 +0100
committerGraydon Hoare <graydon@mozilla.com>2011-12-14 14:54:16 -0800
commit6d0901cb4da43d9316762445f764904a6b4fe1cf (patch)
tree0f6a3572f698be0fe58d030ad0b54f5d56622c61 /src/libstd/std.rc
parent6cdb69cccbb9a86487fc0fd5d10edb01ce9479a4 (diff)
downloadrust-6d0901cb4da43d9316762445f764904a6b4fe1cf.tar.gz
rust-6d0901cb4da43d9316762445f764904a6b4fe1cf.zip
std: export math_f* as math::f* submods and use tailcalls in std::math
Diffstat (limited to 'src/libstd/std.rc')
-rw-r--r--src/libstd/std.rc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libstd/std.rc b/src/libstd/std.rc
index 491b383de37..dffd48b33e7 100644
--- a/src/libstd/std.rc
+++ b/src/libstd/std.rc
@@ -13,7 +13,7 @@ export comm, fs, io, net, run, sys, task, uv;
 export c_vec, ctypes, either, option, result, four, tri, util;
 export bitv, deque, fun_treemap, list, map, smallintmap, sort, treemap, ufind;
 export rope;
-export math, math_f32, math_f64;
+export math;
 export ebml, dbg, getopts, json, rand, sha1, term, time, unsafe;
 export extfmt, test, tempfile;
 // FIXME: generic_os and os_fs shouldn't be exported
@@ -54,6 +54,8 @@ mod uv;
 mod c_vec;
 mod ctypes;
 mod cmath; /* unexported */
+mod math_f32;
+mod math_f64;
 mod either;
 mod option;
 mod result;
@@ -83,8 +85,6 @@ mod dbg;
 mod getopts;
 mod json;
 mod math;
-mod math_f32;
-mod math_f64;
 mod rand;
 mod sha1;
 mod tempfile;