We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 444f79e + ef8e4b4 commit f9f016cCopy full SHA for f9f016c
stdlib/public/core/Unmanaged.swift
@@ -221,11 +221,6 @@ public struct Unmanaged<Instance: AnyObject> {
221
}
222
223
/// Performs an unbalanced retain of the object.
224
- ///
225
- /// Note: Use Umanaged.passRetained(object) instead to ensure that
226
- /// the reference to object is retained before it becomes
227
- /// unmanaged. Once a reference is unmanaged, its underlying object
228
- /// may be freed by the system.
229
@_transparent
230
public func retain() -> Unmanaged {
231
Builtin.retain(_value)
0 commit comments