Skip to content

Commit 1c2a176

Browse files
authored
Fix typo in Bool.swift
Fix typo in documentation where the "Prints <result>" comment had a parenthesis at the end, probably from coping and pasting out of the code example.
1 parent 4d35bce commit 1c2a176

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/core/Bool.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ extension Bool {
242242
/// } else {
243243
/// print("Major error: \(error)")
244244
/// }
245-
/// // Prints "No major errors detected")
245+
/// // Prints "No major errors detected"
246246
///
247247
/// In this example, `lhs` tests whether `error` is an empty string.
248248
/// Evaluation of the `||` operator is one of the following:

0 commit comments

Comments
 (0)