{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreiafqalygwe3pzed4yj4jrhdikxcwmft2rw4wpddss2ebj4ho6offi",
"uri": "at://did:plc:ivbknywyskln22er3nkssdhl/app.bsky.feed.post/3mj676223xw72"
},
"path": "/t/impl-trait-for-statics-and-consts/24165#post_3",
"publishedAt": "2026-04-10T17:12:33.000Z",
"site": "https://internals.rust-lang.org",
"textContent": "This looks longer than just writing a function though. The point of `type_alias_impl_trait` is that you can give a name to the closure and store it in a type without using generics.",
"title": "`impl Trait` for statics and consts"
}