Dusty Pomerleau on Nostr: Today I discovered `#![feature(type_changing_struct_update)]` in #RustLang. It feels ...
Today I discovered
`#![feature(type_changing_struct_update)]`
in #RustLang.
It feels weirdly dangerous, but gosh it makes zero-sized types so much more ergonomic.
Published at
2024-07-10 07:21:40Event JSON
{
"id": "47111e0f803a280411b915a7697b960270a06032451e6dc7e911f0dbf937cd4e",
"pubkey": "5bdfe5c3188a24f76efd37648930d8ada3e458961d03b2e0d62596d4f76e4778",
"created_at": 1720596100,
"kind": 1,
"tags": [
[
"t",
"rustlang"
],
[
"proxy",
"https://fosstodon.org/users/dpom/statuses/112760986059811299",
"activitypub"
]
],
"content": "Today I discovered\n\n`#![feature(type_changing_struct_update)]`\n\nin #RustLang.\n\nIt feels weirdly dangerous, but gosh it makes zero-sized types so much more ergonomic.",
"sig": "717a02428f26deba97b99ad982eefcca1258b0303cadd04c043879bdf68775839a38556d49be0a8fd5140d0f04c83e5f6e75732481db095d05137b61c1a93737"
}