about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2012-03-10 17:42:53 -0800
committerBrian Anderson <banderson@mozilla.com>2012-03-10 17:43:19 -0800
commit91e5a1c8b3c56979b0d7025e83dc378f3d05b208 (patch)
tree95c31beaa7f2bb39f6306c6555e92173237bb2e0 /src/libstd
parent035197609a7f5c604797e5fbbdc6e14c579a026f (diff)
downloadrust-91e5a1c8b3c56979b0d7025e83dc378f3d05b208.tar.gz
rust-91e5a1c8b3c56979b0d7025e83dc378f3d05b208.zip
core: Remove the nearly empty math module
This mod only had two functions, all of whose users have been changed
to use the uint module.
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/rope.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/rope.rs b/src/libstd/rope.rs
index 1166241f010..b9656df7e2f 100644
--- a/src/libstd/rope.rs
+++ b/src/libstd/rope.rs
@@ -1006,7 +1006,7 @@ mod node {
                      right   : right,
              char_len: char_len(left) + char_len(right),
                      byte_len: byte_len(left) + byte_len(right),
-             height: math::max(height(left), height(right)) + 1u
+             height: uint::max(height(left), height(right)) + 1u
                     })
     }