Skip to content

Commit f567885

Browse files
committed
Fix styling issue; Parentheses on new line.
1 parent 3ef6ef4 commit f567885

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

Linked List/LinkedList.playground/Contents.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -359,8 +359,7 @@ extension LinkedList : Collection {
359359

360360
// MARK: - Collection Index
361361
/// Custom index type that contains a reference to the node at index 'tag'
362-
public struct LinkedListIndex<T> : Comparable
363-
{
362+
public struct LinkedListIndex<T> : Comparable {
364363
fileprivate let node: LinkedList<T>.LinkedListNode<T>?
365364
fileprivate let tag: Int
366365

Linked List/LinkedList.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -285,8 +285,7 @@ extension LinkedList : Collection {
285285
}
286286

287287
/// Custom index type that contains a reference to the node at index 'tag'
288-
public struct LinkedListIndex<T> : Comparable
289-
{
288+
public struct LinkedListIndex<T> : Comparable {
290289
fileprivate let node: LinkedList<T>.LinkedListNode<T>?
291290
fileprivate let tag: Int
292291

0 commit comments

Comments
 (0)