mirror of
https://github.com/apple/swift-collections
synced 2026-11-25 04:37:48 +00:00
[ArrayModule] Update DynamicArray tests
This commit is contained in:
2 files changed
+84
-19
No files matched your search
@@ -133,7 +133,7 @@ extension DynamicArray where Element: ~Copyable {
|
||||
//MARK: - Span creation
|
||||
|
||||
extension DynamicArray where Element: ~Copyable {
|
||||
@available(SwiftStdlib 6.2, *)
|
||||
@available(SwiftStdlib 5.0, *)
|
||||
public var span: Span<Element> {
|
||||
@_lifetime(borrow self)
|
||||
@inlinable
|
||||
@@ -142,7 +142,7 @@ extension DynamicArray where Element: ~Copyable {
|
||||
}
|
||||
}
|
||||
|
||||
@available(SwiftStdlib 6.2, *)
|
||||
@available(SwiftStdlib 5.0, *)
|
||||
public var mutableSpan: MutableSpan<Element> {
|
||||
@_lifetime(&self)
|
||||
@inlinable
|
||||
|
||||
Reference in new issue
Block a user