Skip to content

Commit 09ea2fb

Browse files
committed
bring customPlaygroundQuickLook availability message in line with reality
- all other instances of the customPlaygroundQuickLook availability message mention "a future Swift version" rather than "Swift 5.0".
1 parent 1a07733 commit 09ea2fb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

stdlib/public/core/MigrationSupport.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ extension String {
237237
}
238238

239239
extension String.UnicodeScalarView: _CustomPlaygroundQuickLookable {
240-
@available(swift, deprecated: 4.2/*, obsoleted: 5.0*/, message: "UnicodeScalarView.customPlaygroundQuickLook will be removed in Swift 5.0")
240+
@available(swift, deprecated: 4.2/*, obsoleted: 5.0*/, message: "UnicodeScalarView.customPlaygroundQuickLook will be removed in a future Swift version")
241241
public var customPlaygroundQuickLook: _PlaygroundQuickLook {
242242
return .text(description)
243243
}
@@ -256,14 +256,14 @@ public typealias UnicodeScalar = Unicode.Scalar
256256

257257

258258
extension String.UTF16View: _CustomPlaygroundQuickLookable {
259-
@available(swift, deprecated: 4.2/*, obsoleted: 5.0*/, message: "UTF16View.customPlaygroundQuickLook will be removed in Swift 5.0")
259+
@available(swift, deprecated: 4.2/*, obsoleted: 5.0*/, message: "UTF16View.customPlaygroundQuickLook will be removed in a future Swift version")
260260
public var customPlaygroundQuickLook: _PlaygroundQuickLook {
261261
return .text(description)
262262
}
263263
}
264264

265265
extension String.UTF8View: _CustomPlaygroundQuickLookable {
266-
@available(swift, deprecated: 4.2/*, obsoleted: 5.0*/, message: "UTF8View.customPlaygroundQuickLook will be removed in Swift 5.0")
266+
@available(swift, deprecated: 4.2/*, obsoleted: 5.0*/, message: "UTF8View.customPlaygroundQuickLook will be removed in a future Swift version")
267267
public var customPlaygroundQuickLook: _PlaygroundQuickLook {
268268
return .text(description)
269269
}
@@ -310,7 +310,7 @@ extension Substring {
310310
}
311311

312312
extension Substring: _CustomPlaygroundQuickLookable {
313-
@available(swift, deprecated: 4.2/*, obsoleted: 5.0*/, message: "Substring.customPlaygroundQuickLook will be removed in Swift 5.0")
313+
@available(swift, deprecated: 4.2/*, obsoleted: 5.0*/, message: "Substring.customPlaygroundQuickLook will be removed in a future Swift version")
314314
public var customPlaygroundQuickLook: _PlaygroundQuickLook {
315315
return String(self).customPlaygroundQuickLook
316316
}

0 commit comments

Comments
 (0)