mirror of
https://github.com/apple/swift-collections
synced 2026-11-28 05:04:21 +00:00
Merge pull request #245 from lorentey/unify-unsafe-bitsets
Fix warnings in development versions of Swift
This commit is contained in:
11 files changed
+22
No files matched your search
@@ -9,6 +9,8 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
import _CollectionsUtilities
|
||||
|
||||
extension BitSet {
|
||||
/// Initializes a new, empty bit set.
|
||||
///
|
||||
|
||||
@@ -9,6 +9,8 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
import _CollectionsUtilities
|
||||
|
||||
extension BitSet {
|
||||
/// Returns a Boolean value that indicates whether this bit set is a strict
|
||||
/// subset of the given set.
|
||||
|
||||
@@ -9,6 +9,8 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
import _CollectionsUtilities
|
||||
|
||||
extension BitSet {
|
||||
/// Returns a Boolean value that indicates whether this set is a strict
|
||||
/// superset of another set.
|
||||
|
||||
@@ -9,6 +9,8 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
import _CollectionsUtilities
|
||||
|
||||
extension BitSet {
|
||||
/// An opaque type that represents a position in a bit set.
|
||||
///
|
||||
|
||||
@@ -9,6 +9,8 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
import _CollectionsUtilities
|
||||
|
||||
// `OrderedSet` does not directly conform to `SetAlgebra` because its definition
|
||||
// of equality conflicts with `SetAlgebra` requirements. However, it still
|
||||
// implements most `SetAlgebra` requirements (except `insert`, which is replaced
|
||||
|
||||
+2
@@ -9,6 +9,8 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
import _CollectionsUtilities
|
||||
|
||||
// `OrderedSet` does not directly conform to `SetAlgebra` because its definition
|
||||
// of equality conflicts with `SetAlgebra` requirements. However, it still
|
||||
// implements most `SetAlgebra` requirements (except `insert`, which is replaced
|
||||
|
||||
+2
@@ -9,6 +9,8 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
import _CollectionsUtilities
|
||||
|
||||
// `OrderedSet` does not directly conform to `SetAlgebra` because its definition
|
||||
// of equality conflicts with `SetAlgebra` requirements. However, it still
|
||||
// implements most `SetAlgebra` requirements (except `insert`, which is replaced
|
||||
|
||||
@@ -9,6 +9,8 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
import _CollectionsUtilities
|
||||
|
||||
// `OrderedSet` does not directly conform to `SetAlgebra` because its definition
|
||||
// of equality conflicts with `SetAlgebra` requirements. However, it still
|
||||
// implements most `SetAlgebra` requirements (except `insert`, which is replaced
|
||||
|
||||
@@ -9,6 +9,8 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
import _CollectionsUtilities
|
||||
|
||||
// `OrderedSet` does not directly conform to `SetAlgebra` because its definition
|
||||
// of equality conflicts with `SetAlgebra` requirements. However, it still
|
||||
// implements most `SetAlgebra` requirements (except `insert`, which is replaced
|
||||
|
||||
+2
@@ -9,6 +9,8 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
import _CollectionsUtilities
|
||||
|
||||
// `OrderedSet` does not directly conform to `SetAlgebra` because its definition
|
||||
// of equality conflicts with `SetAlgebra` requirements. However, it still
|
||||
// implements most `SetAlgebra` requirements (except `insert`, which is replaced
|
||||
|
||||
@@ -9,6 +9,8 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
import _CollectionsUtilities
|
||||
|
||||
/// An ordered collection of unique elements.
|
||||
///
|
||||
/// Similar to the standard `Set`, ordered sets ensure that each element appears
|
||||
|
||||
Reference in new issue
Block a user