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.
1 parent c115193 commit dd5f18dCopy full SHA for dd5f18d
stdlib/public/core/Misc.swift
@@ -213,8 +213,8 @@ func _rethrowsViaClosure(_ fn: () throws -> ()) rethrows {
213
/// func genericFunction<T>(t: T) { }
214
/// func genericFunction<T>(t: T) where T: Copyable { }
215
///
216
-/// let x = any MyProtocol
217
-/// let x = any MyProtocol & Copyable
+/// let x: any MyProtocol
+/// let x: any MyProtocol & Copyable
218
219
/// To suppress an implicit conformance to `Copyable` you write `~Copyable`.
220
/// For example,
0 commit comments