That's interesting; I imagine that they're not going to just wholesale replace std::sync::Mutex and the like with the parking lot versions due to the fact that at least last time I checked, doing that would cause breaking API changes (e.g. Mutex::lock not returning a Result, so are they planning on just making a separate module with the parking lot API as an alternative? (I supposed they could just make the parking lot Mutex return a Result that always returns Ok, but that doesn't really seem like it would appeal to most people).
Re:Rust Starter Kit 2020
by pixel_fcker on Saturday October 03, 2020 @10:40PM
(#24676171)
Hopefully they make it a breaking change in a new edition. A little pain when updating will be much better than carrying two slightly different implementations in the long run
Re:Rust Starter Kit 2020
by steveklabnik on Sunday October 04, 2020 @08:27AM
(#24678491)
The standard library cannot differ per edition.
https://github.com/faern/parking_lot/pull/1