spin-rs icon indicating copy to clipboard operation
spin-rs copied to clipboard

Fix lock_api feature name for RawRwLockUpgradeDowngrade

Open cavivie opened this issue 6 months ago • 0 comments

Changes:

  • Rename old feature namelock_api1 to new feature name lock_api (I guess this has been forgotten?).
  • Should import lock_api_crate as the package name instead of external lock_api crate dependency.
  • Associated type of phantom data of RwLock requires that it already implement the RelaxStrategy trait.

cavivie avatar Jul 31 '24 04:07 cavivie