{"type":"rich","version":"1.0","title":"Magical Cat wrote","author_name":"Magical Cat (npub19n…77fx8)","author_url":"https://yabu.me/npub19n4htjp8zkpg2hk8n4tv87gd5qsw3r0flxxadem2r3lyxm2a5q4qk77fx8","provider_name":"njump","provider_url":"https://yabu.me","html":"Null deref?\nLike, some `switch` construct got optimized into kind of `foo[bar].doCrap(ctx, data)` construct? But the `foo[bar]` kind of construct without default pathway can happen in Rust anyway if that thing constructed dynamically (e. g. by other earlier part of arriving data).\nthis can be a common situation for some \"rules engine\" or other high-level code execution branching infrastructure.\nDoes Rust can enforce \"always have a meaningful result for `foo[bar]` construct?"}
