mirror of
https://github.com/apple/swift-collections
synced 2026-11-26 04:47:48 +00:00
Update Cell.swift
This commit is contained in:
1 file changed
+1
-1
@@ -30,7 +30,7 @@ public struct Cell<T: ~Copyable>: ~Copyable {
|
||||
extension Cell where T: ~Copyable {
|
||||
@_alwaysEmitIntoClient
|
||||
@_transparent
|
||||
public func asInout() -> Inout<T> {
|
||||
public borrowing func asInout() -> Inout<T> {
|
||||
Inout<T>(unsafeAddress: unsafeAddress, owner: self)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user