mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
remove superfluous parentheses in control statements in stdlib source
since this appears to be the convention followed elsewhere in the code base.
This commit is contained in:
@@ -219,7 +219,7 @@ public struct UTF8 : UnicodeCodec {
|
||||
// Non-ASCII, proceed to buffering mode.
|
||||
_decodeBuffer = UInt32(codeUnit)
|
||||
_bitsInBuffer = 8
|
||||
} else if (_decodeBuffer & 0x80 == 0) {
|
||||
} else if _decodeBuffer & 0x80 == 0 {
|
||||
// ASCII in buffer. We don't refill the buffer so we can return
|
||||
// to bufferless mode once we've exhausted it.
|
||||
let codeUnit = _decodeBuffer & 0xff
|
||||
|
||||
Reference in New Issue
Block a user