tokio-rs / loom

Concurrency permutation testing tool for Rust.
MIT License
2.15k stars 112 forks source link

Allow `Mutex` to work with `?Sized` types #339

Closed Phantomical closed 8 months ago

Phantomical commented 8 months ago

std supports this so it would be nice if loom did too. The only changes needed to do it is just adding ?Sized where applicable.

Phantomical commented 8 months ago

It looks like the Option in RwLock breaks this on 1.65 so I've changed it to only add ?Sized for Mutex.