spin-rs
spin-rs copied to clipboard
Fix lock_api feature name for RawRwLockUpgradeDowngrade
Changes:
- Rename old feature name
lock_api1
to new feature namelock_api
(I guess this has been forgotten?). - Should import
lock_api_crate
as the package name instead of externallock_api
crate dependency. - Associated type of phantom data of RwLock requires that it already implement the RelaxStrategy trait.