apple / swift-collections

Commonly used data structures for Swift
Apache License 2.0
3.55k stars 270 forks source link

[Heap] Convert min() and max() to properties #328

Closed lorentey closed 3 months ago

lorentey commented 6 months ago

This implements @tevelee's suggestion from Heap's API RFC thread on the project forum:

https://forums.swift.org/t/swift-collections-1-1-heap-api-rfc/68447/5

Checklist

rdar://118432031

lorentey commented 6 months ago

@swift-ci test

lorentey commented 6 months ago

macOS test will fail because things are going just great. rdar://117169742 🔥