diff options
| author | Tom Lee <github@tomlee.co> | 2012-02-03 03:28:49 -0800 |
|---|---|---|
| committer | Marijn Haverbeke <marijnh@gmail.com> | 2012-02-03 14:09:44 +0100 |
| commit | 31b0d1b4bdf47554604bd4962d8d940c5e29cc7a (patch) | |
| tree | b80e7ed47a9ab5823704669cc4a1133e1a9a01ad /src/comp/middle | |
| parent | 633e4502e76811183208b5d1e107c4ccde2ce36c (diff) | |
| download | rust-31b0d1b4bdf47554604bd4962d8d940c5e29cc7a.tar.gz rust-31b0d1b4bdf47554604bd4962d8d940c5e29cc7a.zip | |
core: rename str::lteq to str::le
Diffstat (limited to 'src/comp/middle')
| -rw-r--r-- | src/comp/middle/ty.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comp/middle/ty.rs b/src/comp/middle/ty.rs index 96ef2d60bc5..9c507d296c6 100644 --- a/src/comp/middle/ty.rs +++ b/src/comp/middle/ty.rs @@ -1588,7 +1588,7 @@ fn method_idx(id: ast::ident, meths: [method]) -> option<uint> { fn sort_methods(meths: [method]) -> [method] { fn method_lteq(a: method, b: method) -> bool { - ret str::lteq(a.ident, b.ident); + ret str::le(a.ident, b.ident); } ret std::sort::merge_sort(bind method_lteq(_, _), meths); } |
