diff options
| author | bors <bors@rust-lang.org> | 2016-06-22 01:05:56 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-06-22 01:05:56 -0700 |
| commit | 3ee3267af39aa95fed707c67acb656845eb8f365 (patch) | |
| tree | 4ab8e1587cc40ddd2f37e657413b993b4fef61db /src/libstd/thread | |
| parent | 66b82beb609aa65b76b93a43e6aa1f507dfb2cdc (diff) | |
| parent | 45a63d3ff611b1412f9d811cd328b648bada5ca2 (diff) | |
| download | rust-3ee3267af39aa95fed707c67acb656845eb8f365.tar.gz rust-3ee3267af39aa95fed707c67acb656845eb8f365.zip | |
Auto merge of #33976 - komamitsu:assert_eq_with_msg, r=alexcrichton
Add custom message parameter to `assert_eq!` `assert!` macro accepts a custom message parameter and it's sometimes useful. But `assert_eq!` doesn't have it and users need to use `assert!` instead of `assert_eq!` when they want to output a custom message even if the assertion just compares two values. This pull request will resolve those cases.
Diffstat (limited to 'src/libstd/thread')
0 files changed, 0 insertions, 0 deletions
