@cart.workCarter Anderson @cart.work
2025-12-04 01:27 UTC
Can someone explain to me why the PhantomData<fn() -> T> behavior cannot be the default implied behavior for unused types in Rust? (aka: pretend T is not stored on the type ... because it isn't). PhantomData comes up constantly for me in safe code and it feels SO clunky to me.
14 likes, 3 reposts, 2 replies
3 Next post4 More from @cart.workBackBluesky home