]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #31510 - dikaiosune:master, r=bluss
authorbors <bors@rust-lang.org>
Tue, 9 Feb 2016 15:14:25 +0000 (15:14 +0000)
committerbors <bors@rust-lang.org>
Tue, 9 Feb 2016 15:14:25 +0000 (15:14 +0000)
Since a lexicographic ordering of a struct could vary based on which struct members are compared first, I ended up doing some testing to ensure that the behavior when deriving these traits was what I expected (ordered based on the top to bottom order of declaration of the members). I wanted to add this little bit of documentation to potentially save someone else the same effort. That is, assuming that my testing correctly reflects the intended behavior of the compiler.

r? @steveklabnik


Trivial merge