{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreiconcgpbdzpgot3euk7ov27tgtqog7x2arnm4cu4xuzf3g46jfe74",
"uri": "at://did:plc:ivbknywyskln22er3nkssdhl/app.bsky.feed.post/3micd7sjhl4y2"
},
"path": "/t/change-error-message-of-a-failing-assert-eq/24118#post_6",
"publishedAt": "2026-03-30T13:10:09.000Z",
"site": "https://internals.rust-lang.org",
"textContent": "I tend to do `actual, expected` because `actual` is usually just a variable reference while `expected` can be a large literal or other more verbose expression and the last argument is far more amenable to reformat splay than the former (IMO).",
"title": "Change error message of a failing `assert_eq!`"
}