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 a08f2f9 + 81e93c7 commit 93aa6bfCopy full SHA for 93aa6bf
stdlib/public/core/Arrays.swift.gyb
@@ -1985,21 +1985,6 @@ extension _ArrayBufferProtocol {
1985
}
1986
1987
1988
-internal struct _InitializePointer<T> : _PointerFunction {
1989
- internal func call(_ rawMemory: UnsafeMutablePointer<T>, count: Int) {
1990
- _sanityCheck(count == 1)
1991
- // FIXME: it would be better if we could find a way to move, here
1992
- rawMemory.initialize(to: newValue)
1993
- }
1994
-
1995
- @_transparent
1996
- internal init(_ newValue: T) {
1997
- self.newValue = newValue
1998
1999
2000
- internal var newValue: T
2001
-}
2002
2003
internal struct _IgnorePointer<T> : _PointerFunction {
2004
internal func call(_: UnsafeMutablePointer<T>, count: Int) {
2005
_sanityCheck(count == 0)
0 commit comments