Skip to content

Commit 0958bdd

Browse files
authored
Merge pull request #75383 from Jager-yoo/fix-compiler-protocols
[stdlib] Correct documentation formatting in CompilerProtocols
2 parents a751b07 + ec78f49 commit 0958bdd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stdlib/public/core/CompilerProtocols.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ public protocol RawRepresentable<RawValue> {
117117
/// }
118118
///
119119
/// print(PaperSize(rawValue: "Legal"))
120-
/// // Prints "Optional("PaperSize.Legal")"
120+
/// // Prints "Optional(PaperSize.Legal)"
121121
///
122122
/// print(PaperSize(rawValue: "Tabloid"))
123123
/// // Prints "nil"
@@ -658,7 +658,7 @@ public protocol ExpressibleByArrayLiteral {
658658
///
659659
/// let countryCodes = ["BR": "Brazil", "GH": "Ghana",
660660
/// "JP": "Japan", "US": "United States"]
661-
/// // 'countryCodes' has type [String: String]
661+
/// // 'countryCodes' has type '[String: String]'
662662
///
663663
/// print(countryCodes["BR"]!)
664664
/// // Prints "Brazil"

0 commit comments

Comments
 (0)