External Publication
Visit Post

Could you borrow a bit?

Rust Internals [Unofficial] May 15, 2026
Source

A particularly fun question for bitstring reference type libraries like what I'm writing is: is how do you implement split_at_mut?

So far my answer is: you don't. But if the language supported mutable borrow splitting at a sub-byte granularity, then it could be possible.

Discussion in the ATmosphere

Loading comments...