@@ -199,34 +199,30 @@ func _rethrowsViaClosure(_ fn: () throws -> ()) rethrows {
199
199
/// For example,
200
200
/// all of the following pairs of declarations are equivalent:
201
201
///
202
- /// ```swift
203
- /// struct MyStructure { }
204
- /// struct MyStructere: Copyable { }
202
+ /// struct MyStructure { }
203
+ /// struct MyStructere: Copyable { }
205
204
///
206
- /// protocol MyProtocol { }
207
- /// protocol MyProtocol: Copyable { }
205
+ /// protocol MyProtocol { }
206
+ /// protocol MyProtocol: Copyable { }
208
207
///
209
- /// protocol AnotherProtocol {
210
- /// associatedtype MyType
211
- /// associatedtype MyType: Copyable
212
- /// }
208
+ /// protocol AnotherProtocol {
209
+ /// associatedtype MyType
210
+ /// associatedtype MyType: Copyable
211
+ /// }
213
212
///
214
- /// func genericFunction<T>(t: T) { }
215
- /// func genericFunction<T>(t: T) where T: Copyable { }
213
+ /// func genericFunction<T>(t: T) { }
214
+ /// func genericFunction<T>(t: T) where T: Copyable { }
216
215
///
217
- /// let x = any MyProtocol
218
- /// let x = any MyProtocol & Copyable
219
- /// ```
216
+ /// let x = any MyProtocol
217
+ /// let x = any MyProtocol & Copyable
220
218
///
221
219
/// To suppress an implicit conformance to `Copyable` you write `~Copyable`.
222
220
/// For example,
223
221
/// only copyable types can conform to `MyProtocol` in the example above,
224
222
/// but both copyable and noncopyable types
225
223
/// can conform `NoRequirements` in the example below:
226
224
///
227
- /// ```swift
228
- /// protocol NoRequirements: ~Copyable { }
229
- /// ```
225
+ /// protocol NoRequirements: ~Copyable { }
230
226
///
231
227
/// Extensions to the `Copyable` protocol are not allowed.
232
228
@_marker public protocol Copyable { }
0 commit comments