]> git.lizzy.rs Git - rust.git/commit
std::tuple: Use != properly in Eq::ne for tuples
authorblake2-ppc <blake2-ppc>
Fri, 9 Aug 2013 03:54:49 +0000 (05:54 +0200)
committerblake2-ppc <blake2-ppc>
Fri, 9 Aug 2013 03:54:49 +0000 (05:54 +0200)
commit854e219d0aff3eff1f0b3762efc2d1a05ebb426b
treee056b9aeb0334f21b580bd7fae6fd193b3c2bd7e
parent06783ce831b66d48f2003a8e1022cfdba9e6545d
std::tuple: Use != properly in Eq::ne for tuples

Just like the Ord methods, Eq::ne needs to be implemented in terms of
the same operation on the elements.
src/libstd/tuple.rs