about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorOliver Middleton <olliemail27@gmail.com>2015-11-11 14:25:08 +0000
committerOliver Middleton <olliemail27@gmail.com>2015-11-11 14:25:08 +0000
commit4879078f2ee5c99c8d84336049164b560c0b757f (patch)
tree17439d9564fcd041a2fe3b8ae06290dcad0b95b7 /src/libstd/sys/unix/stack_overflow.rs
parent8fbd2923f1981f2662c0c4631e962c958794537e (diff)
downloadrust-4879078f2ee5c99c8d84336049164b560c0b757f.tar.gz
rust-4879078f2ee5c99c8d84336049164b560c0b757f.zip
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.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions