Skip to content

Commit 2ace06e

Browse files
author
Dave Abrahams
committed
80-column cleanups
1 parent 1abd2e0 commit 2ace06e

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

test/Prototypes/UnicodeDecoders.swift

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,8 @@ where Encoding.EncodedScalar == _UIntBuffer<_UInt32, Encoding.CodeUnit>,
525525
func _bufferedScalar(bitCount: UInt8) -> Encoding.EncodedScalar
526526
}
527527

528-
extension _UTFDecoder where Encoding.EncodedScalar == _UIntBuffer<UInt32, Encoding.CodeUnit> {
528+
extension _UTFDecoder
529+
where Encoding.EncodedScalar == _UIntBuffer<UInt32, Encoding.CodeUnit> {
529530
public mutating func parseScalar<I : IteratorProtocol>(
530531
from input: inout I
531532
) -> Unicode.ParseResult<Encoding.EncodedScalar>
@@ -540,7 +541,9 @@ extension _UTFDecoder where Encoding.EncodedScalar == _UIntBuffer<UInt32, Encodi
540541
}
541542
// Non-ASCII, proceed to buffering mode.
542543
buffer.append(codeUnit)
543-
} else if Encoding._isScalar(Encoding.CodeUnit(extendingOrTruncating: buffer._storage)) {
544+
} else if Encoding._isScalar(
545+
Encoding.CodeUnit(extendingOrTruncating: buffer._storage)
546+
) {
544547
// ASCII in buffer. We don't refill the buffer so we can return
545548
// to bufferless mode once we've exhausted it.
546549
let codeUnit = Encoding.CodeUnit(extendingOrTruncating: buffer._storage)
@@ -706,8 +709,7 @@ extension UTF8.ReverseDecoder : _UTFDecoder {
706709
}
707710
}
708711

709-
extension
710-
Unicode.UTF8.ForwardDecoder : _UTFDecoder {
712+
extension Unicode.UTF8.ForwardDecoder : _UTFDecoder {
711713
public typealias Encoding = Unicode.UTF8
712714

713715
public // @testable

0 commit comments

Comments
 (0)