{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreic44vqyptsykuvf34zbsi5ecy2mltczfhr6nzkyhogw3zjrbze6a4",
"uri": "at://did:plc:ivbknywyskln22er3nkssdhl/app.bsky.feed.post/3mii7anpiwh72"
},
"path": "/t/change-error-message-of-a-failing-assert-eq/24118?page=2#post_21",
"publishedAt": "2026-04-01T16:34:23.000Z",
"site": "https://internals.rust-lang.org",
"textContent": "Note that there would be no need to name _both_ arguments, so all of `assert_eq!(expected = foo, actual = bar)`, `assert_eq!(foo, actual = bar)`, `assert_eq!(expected = foo, bar)`, `assert_eq!(actual = bar, foo)`, `assert_eq!(bar, expected = foo)`, `assert_eq!(foo, bar)` could be accepted, which would provide 4 ways of opting into the change of wording without _too_ much additional verbosity.",
"title": "Change error message of a failing `assert_eq!`"
}