{
  "$type": "site.standard.document",
  "bskyPostRef": {
    "cid": "bafyreihbwkxn4lmguyx74t43qh5m3mqxlswuysevyhsnnvom6hfgjyyvi4",
    "uri": "at://did:plc:ivbknywyskln22er3nkssdhl/app.bsky.feed.post/3mj6766h6gv42"
  },
  "path": "/t/impl-trait-for-statics-and-consts/24165#post_2",
  "publishedAt": "2026-04-10T16:44:16.000Z",
  "site": "https://internals.rust-lang.org",
  "textContent": "Note that this already works and is optimized as expected:\n\n\n    const DIGIT: &dyn Fn(&ParserState) -> Result<u8> = &<my parser combinator here>;\n",
  "title": "`impl Trait` for statics and consts"
}