Skip to content

0.0.6 ~Copyable Support

Latest
Compare
Choose a tag to compare
@swhitty swhitty released this 03 Jun 05:23
· 2 commits to main since this release

Adds full support for ~Copyable on Darwin and Linux platforms aligning with the Swift 6 definitions;

public struct Mutex<Value: ~Copyable>: ~Copyable { ... }

extension Mutex: @unchecked Sendable where Value: ~Copyable { }

Note: AllocatedLock is no longer used by Mutex and has been deprecated. It will be removed in a future release.