Skip to content

Commit 95f4daf

Browse files
committed
[cxx-interop] NFC: Use the term "C++ container" consistently
1 parent 490db49 commit 95f4daf

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

stdlib/public/Cxx/CxxConvertibleToCollection.swift

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@ internal func forEachElement<C: CxxConvertibleToCollection>(
3838
}
3939

4040
extension Array {
41-
/// Creates an array containing the elements of a C++ collection.
41+
/// Creates an array containing the elements of a C++ container.
4242
///
43-
/// This initializer copies each element of the C++ collection to a new Swift
43+
/// This initializer copies each element of the C++ container to a new Swift
4444
/// array.
4545
///
4646
/// - Complexity: O(*n*), where *n* is the number of elements in the C++
47-
/// collection.
47+
/// container.
4848
public init<C: CxxConvertibleToCollection>(_ c: C)
4949
where C.RawIterator.Pointee == Element {
5050

@@ -54,13 +54,13 @@ extension Array {
5454
}
5555

5656
extension Set {
57-
/// Creates an set containing the elements of a C++ collection.
57+
/// Creates an set containing the elements of a C++ container.
5858
///
59-
/// This initializer copies each element of the C++ collection to a new Swift
59+
/// This initializer copies each element of the C++ container to a new Swift
6060
/// set.
6161
///
6262
/// - Complexity: O(*n*), where *n* is the number of elements in the C++
63-
/// collection.
63+
/// container.
6464
public init<C: CxxConvertibleToCollection>(_ c: C)
6565
where C.RawIterator.Pointee == Element {
6666

0 commit comments

Comments
 (0)