Skip to content

Commit 710d841

Browse files
[gardening] Fix minor spacing issue in Data.swift
1 parent 40a98df commit 710d841

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

stdlib/public/SDK/Foundation/Data.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ public struct Data : ReferenceConvertible, Equatable, Hashable, RandomAccessColl
261261
// MARK: - Properties and Functions
262262

263263
/// The number of bytes in the data.
264-
public var count : Int {
264+
public var count: Int {
265265
get {
266266
return _mapUnmanaged { $0.length }
267267
}
@@ -521,7 +521,7 @@ public struct Data : ReferenceConvertible, Equatable, Hashable, RandomAccessColl
521521
where ByteCollection.Iterator.Element == Data.Iterator.Element {
522522

523523
// Calculate this once, it may not be O(1)
524-
let replacementCount : Int = numericCast(newElements.count)
524+
let replacementCount: Int = numericCast(newElements.count)
525525
let currentCount = self.count
526526
let subrangeCount = subrange.count
527527

@@ -686,7 +686,7 @@ public struct Data : ReferenceConvertible, Equatable, Hashable, RandomAccessColl
686686
//
687687

688688
@available(*, unavailable, renamed: "count")
689-
public var length : Int {
689+
public var length: Int {
690690
get { fatalError() }
691691
set { fatalError() }
692692
}
@@ -783,7 +783,7 @@ extension _SwiftNSData {
783783
// -----
784784

785785
@objc(length)
786-
var length : Int {
786+
var length: Int {
787787
get {
788788
return _mapUnmanaged { $0.length }
789789
}

0 commit comments

Comments
 (0)