Skip to content

Commit 3cb9b33

Browse files
committed
[stdlib] Add support for noncopyables to swap(_:_:)
1 parent 5ae7571 commit 3cb9b33

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

stdlib/public/core/MutableCollection.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -517,8 +517,6 @@ extension MutableCollection {
517517
}
518518
}
519519

520-
// the legacy swap free function
521-
//
522520
/// Exchanges the values of the two arguments.
523521
///
524522
/// The two arguments must not alias each other. To swap two elements of a

0 commit comments

Comments
 (0)