mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[stdlib] Add consuming/owned annotations to Collection implementations (#19360)
* Add consuming/owned annotations to Collection implementations * Update SILOptimizer tests * Fix access_marker_verify test * XFAIL reconstruct_type_from_mangled_name
This commit is contained in:
@@ -154,7 +154,7 @@ extension EnumeratedSequence.Iterator: IteratorProtocol, Sequence {
|
||||
extension EnumeratedSequence: Sequence {
|
||||
/// Returns an iterator over the elements of this sequence.
|
||||
@inlinable
|
||||
public func makeIterator() -> Iterator {
|
||||
public __consuming func makeIterator() -> Iterator {
|
||||
return Iterator(_base: _base.makeIterator())
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user