Option<*mut T> or &mut Option
⚓ Rust 📅 2026-04-08 👤 surdeus 👁️ 5Earlier, I got told that I should generally use &Option<T> rather than Option<&T>. Does that also apply when use mut? That is, should I use &mut Option<T> rather than Option<&mut T>?
Thanks.
Joel
8 posts - 5 participants
🏷️ Rust_feed