Dusty Pomerleau on Nostr: This is worse than I thought. I actually can’t even do this with concrete types: ...
This is worse than I thought. I actually can’t even do this with concrete types:
`impl From<Option<MyType>> for Option<MyOtherType>`
also violates the orphan rule…
Published at
2024-07-30 02:19:11Event JSON
{
"id": "8618de5d5bb81f7a00bc8f2a5fd25cb928ea433891fa12fd9e4aa1de00978ccf",
"pubkey": "5bdfe5c3188a24f76efd37648930d8ada3e458961d03b2e0d62596d4f76e4778",
"created_at": 1722305951,
"kind": 1,
"tags": [
[
"e",
"64965ff347d5d1933fbe20c772653b8d98f5c13f9c44651c55c47edec94437cf",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://fosstodon.org/users/dpom/statuses/112873042837467158",
"activitypub"
]
],
"content": "This is worse than I thought. I actually can’t even do this with concrete types:\n\n`impl From\u003cOption\u003cMyType\u003e\u003e for Option\u003cMyOtherType\u003e`\n\nalso violates the orphan rule…",
"sig": "ae2626fda2eaee320d02e11fab1b11b0861ad4ec6fe2051378e75306af89523548639e97bd8edfb3214c07f2041b4f0f974d3a021d28fe3aaa76e091b6f1c05b"
}