]> git.lizzy.rs Git - rust.git/commitdiff
auto merge of #15030 : sfackler/rust/partial-cmp, r=huonw
authorbors <bors@rust-lang.org>
Mon, 30 Jun 2014 05:36:25 +0000 (05:36 +0000)
committerbors <bors@rust-lang.org>
Mon, 30 Jun 2014 05:36:25 +0000 (05:36 +0000)
I ended up altering the semantics of Json's PartialOrd implementation.
It used to be the case that Null < Null, but I can't think of any reason
for an ordering other than the default one so I just switched it over to
using the derived implementation.

This also fixes broken `PartialOrd` implementations for `Vec` and
`TreeMap`.

# Note
This isn't ready to merge yet since libcore tests are broken as you end up with 2 versions of `Option`. The rest should be reviewable though.

RFC: 0028-partial-cmp

1  2 
src/liballoc/rc.rs

Simple merge