diff options
| author | bors <bors@rust-lang.org> | 2013-08-30 21:40:32 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-08-30 21:40:32 -0700 |
| commit | bb35e23f1ca63eba4a3ea25ecdf68a393871ed18 (patch) | |
| tree | 46ae78240122b0324b698c6e6c57024c74376ef8 /src/libstd/num/float.rs | |
| parent | 5fe553d30f6e3ef7c021092533f1d7c74f6e8fb6 (diff) | |
| parent | 1ab0ddae5ccc465f64d1a2644c27d32b3e56df54 (diff) | |
| download | rust-bb35e23f1ca63eba4a3ea25ecdf68a393871ed18.tar.gz rust-bb35e23f1ca63eba4a3ea25ecdf68a393871ed18.zip | |
auto merge of #8896 : lightcatcher/rust/default_eq_fix, r=thestinger
Summary: -removed "ne" methods in libstd and librustpkg -made default "ne" be inlined -made one of the "eq" methods in librustpkg follow more standard parameter naming convention
Diffstat (limited to 'src/libstd/num/float.rs')
| -rw-r--r-- | src/libstd/num/float.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libstd/num/float.rs b/src/libstd/num/float.rs index 909eac0cb69..4dd6fd25333 100644 --- a/src/libstd/num/float.rs +++ b/src/libstd/num/float.rs @@ -331,8 +331,6 @@ impl Num for float {} impl Eq for float { #[inline] fn eq(&self, other: &float) -> bool { (*self) == (*other) } - #[inline] - fn ne(&self, other: &float) -> bool { (*self) != (*other) } } #[cfg(not(test))] |
