{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreifrp3zo5vlkg4n7o5zhqzd5qc6v5aqvfutcl5dskpmnpkubkuvspm",
"uri": "at://did:plc:ivbknywyskln22er3nkssdhl/app.bsky.feed.post/3mj5rpk3getz2"
},
"path": "/t/impl-trait-for-statics-and-consts/24165#post_1",
"publishedAt": "2026-04-10T16:22:01.000Z",
"site": "https://internals.rust-lang.org",
"textContent": "This seems like something relatively simple compared to `type_alias_impl_trait` and does not require a typedef. e.g.\n\n\n const DIGIT: impl Fn(&ParserState) -> Result<u8> = <my parser combinator here>;\n",
"title": "`impl Trait` for statics and consts"
}