Revert "Allow to initialize Examples by string literals (#5154)" (#5155)

This reverts commit 56461c3ab4.
This commit is contained in:
Danny Mösch
2023-08-04 00:03:26 +02:00
committed by GitHub
parent 56461c3ab4
commit 85c4a3a03d
32 changed files with 487 additions and 493 deletions
@@ -147,13 +147,6 @@ extension Example: Comparable {
}
}
/// Allows to initialize an ``Example`` as `let example: Example = "..."`.
extension Example: ExpressibleByStringInterpolation {
public init(stringLiteral value: String) {
self.init(value)
}
}
public extension Array where Element == Example {
/// Make these examples skip wrapping in comment tests.
func skipWrappingInCommentTests() -> Self {