The documentation for the debug_assert_eq macro claims:
Asserts that two expressions are equal to each other, testing equality in both directions.
But if you read the implementation of debug_assert_eq, you see that it tests equality in one direction only. Also see the example: http://is.gd/YGKAOj