Skip to content

Commit 9af41f2

Browse files
committed
[swiftlint] Fix violation: trailing_whitespace
1 parent e3a4494 commit 9af41f2

File tree

68 files changed

+926
-926
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+926
-926
lines changed

Array2D/Array2D.playground/Contents.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ public struct Array2D<T> {
77
public let columns: Int
88
public let rows: Int
99
fileprivate var array: [T]
10-
10+
1111
public init(columns: Int, rows: Int, initialValue: T) {
1212
self.columns = columns
1313
self.rows = rows
1414
array = .init(repeating: initialValue, count: rows*columns)
1515
}
16-
16+
1717
public subscript(column: Int, row: Int) -> T {
1818
get {
1919
precondition(column < columns, "Column \(column) Index is out of range. Array<T>(columns: \(columns), rows:\(rows))")

Array2D/Array2D.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ public struct Array2D<T> {
77
public let columns: Int
88
public let rows: Int
99
fileprivate var array: [T]
10-
10+
1111
public init(columns: Int, rows: Int, initialValue: T) {
1212
self.columns = columns
1313
self.rows = rows
1414
array = .init(repeating: initialValue, count: rows*columns)
1515
}
16-
16+
1717
public subscript(column: Int, row: Int) -> T {
1818
get {
1919
precondition(column < columns, "Column \(column) Index is out of range. Array<T>(columns: \(columns), rows:\(rows))")

0 commit comments

Comments
 (0)