|
|
|
|
|
by Rusky
202 days ago
|
|
Hypothetically Rust could make `Mutex<InnerBlah>` work with just two bits in the same way it makes `Option<&T>` the same size as `&T`. Annotate `InnerBlah` with the information about which bits are available and let `Mutex` use them. |
|
[1] e.g. https://internals.rust-lang.org/t/pre-rfc-allow-array-stride...