{
  "$type": "site.standard.document",
  "bskyPostRef": {
    "cid": "bafyreihacvrb6qydy55mp7cau63uowhsiqiorc2lxf7uwoi56mpmcsnmmm",
    "uri": "at://did:plc:ivbknywyskln22er3nkssdhl/app.bsky.feed.post/3mikwrwdx7rl2"
  },
  "path": "/t/q-why-do-match-expression-need-parenthesis-for-ops-to-the-right-but-not-left/24126#post_4",
  "publishedAt": "2026-04-02T17:46:42.000Z",
  "site": "https://internals.rust-lang.org",
  "textContent": "Also, \"lack of `;`\" would be an arbitrary-length lookahead and ambiguity; we don't rely on that either. The closing brace can be the end of the expression (match doesn't require a semicolon when used as a statement), and `*num_apples` could be the start of a new expression (dereferencing a pointer).",
  "title": "Q: Why do match expression need parenthesis for ops to the right but not left?"
}