{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreigdh5afd6stwdvbtt7hqkmuteku35p7ctwpciu2t2hb5vinpc4hoq",
"uri": "at://did:plc:ivbknywyskln22er3nkssdhl/app.bsky.feed.post/3miite4jtif52"
},
"path": "/t/q-why-do-match-expression-need-parenthesis-for-ops-to-the-right-but-not-left/24126#post_2",
"publishedAt": "2026-04-02T04:35:39.000Z",
"site": "https://internals.rust-lang.org",
"textContent": "For block-tailed-expressions like `match`, when they appear in a position that a statement is valid, they are _always_ treated as a statement. This ensures that the parse does not rely on types in the program, which is a very desirable property to keep syntax not interleaved with complicated and turing-complete type resolution.",
"title": "Q: Why do match expression need parenthesis for ops to the right but not left?"
}