Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow none Sized types in assert_eq! #29770

Merged
merged 2 commits into from
Nov 12, 2015
Merged

Commits on Nov 11, 2015

  1. Allow none Sized types in assert_eq!

    format_args! doesn't support none Sized types so we should just pass it the references to left_val and right_val.
    
    This fixes `assert_eq!([1, 2, 3][..], vec![1, 2, 3][..])` for example.
    ollie27 committed Nov 11, 2015
    Configuration menu
    Copy the full SHA
    4879078 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    780581e View commit details
    Browse the repository at this point in the history