Is transmute from `&&T` to `&&mut T` sound?

⚓ Rust    📅 2025-08-29    👤 surdeus    👁️ 2      

surdeus

Is transmute from &&T to &&mut T sound? Or maybe going through the pointer cast? Is there a difference for tree borrows and stacked borrows?

2 posts - 2 participants

Read full topic

🏷️ Rust_feed