Skip to content

Commit 94b6924

Browse files
committed
NFC: Fix indentation in "String+Encoding+Names.swift".
1 parent b6a142d commit 94b6924

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

Sources/FoundationEssentials/String/String+Encoding+Names.swift

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@
1414
// MARK: - Private extensions for parsing encoding names
1515

1616
private extension Unicode.Scalar {
17-
/// Returns the Boolean value that indicates whether or not `self` is "ASCII whitespace".
18-
///
19-
/// Reference: https://infra.spec.whatwg.org/#ascii-whitespace
20-
var _isASCIIWhitespace: Bool {
21-
switch self.value {
22-
case 0x09, 0x0A, 0x0C, 0x0D, 0x20: true
23-
default: false
17+
/// Returns the Boolean value that indicates whether or not `self` is "ASCII whitespace".
18+
///
19+
/// Reference: https://infra.spec.whatwg.org/#ascii-whitespace
20+
var _isASCIIWhitespace: Bool {
21+
switch self.value {
22+
case 0x09, 0x0A, 0x0C, 0x0D, 0x20: true
23+
default: false
24+
}
2425
}
25-
}
2626
}
2727

2828
private extension String {
@@ -95,9 +95,9 @@ extension StringEncodingNameTokenizer where Self: ~Copyable {
9595
private struct ASCIICaseInsensitiveTokenizer: StringEncodingNameTokenizer, ~Copyable {
9696
typealias Token = ASCIICaseInsensitiveUnicodeScalar
9797

98-
enum Error: Swift.Error {
99-
case nonASCII
100-
}
98+
enum Error: Swift.Error {
99+
case nonASCII
100+
}
101101

102102
let scalars: Substring.UnicodeScalarView
103103

0 commit comments

Comments
 (0)