File tree Expand file tree Collapse file tree
Sources/FoundationEssentials/URL Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22//
33// This source file is part of the Swift.org open source project
44//
5- // Copyright (c) 2023 - 2025 Apple Inc. and the Swift project authors
5+ // Copyright (c) 2023 - 2026 Apple Inc. and the Swift project authors
66// Licensed under Apache License v2.0 with Runtime Library Exception
77//
88// See https://swift.org/LICENSE.txt for license information
@@ -185,6 +185,8 @@ fileprivate struct URLBufferParseInfo {
185185package protocol UIDNAHook {
186186 static func encode( _ host: some StringProtocol ) -> String ?
187187 static func decode( _ host: some StringProtocol ) -> String ?
188+
189+ @lifetime ( output: copy output)
188190 static func nameToASCII(
189191 input: borrowing Span < UTF16 . CodeUnit > ,
190192 output: inout OutputSpan < Unicode . ASCII . CodeUnit >
You can’t perform that action at this time.
0 commit comments