Skip to content

Commit 9c494ad

Browse files
committed
Merge pull request kodecocodes#33 from qalandarov/hotfix/linkedListMinorTypo
Fix minor typo
2 parents bb5d2b9 + 558a3c6 commit 9c494ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Linked List/README.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ The loop also does some Swift magic. The `while case let next? = node.next` bit
126126
}
127127
```
128128

129-
But that doesn't feel very Swifty too me. We might as well make use of Swift's built-in support for unwrapping optionals. You'll see a bunch of these kinds of loops in the code that follows.
129+
But that doesn't feel very Swifty to me. We might as well make use of Swift's built-in support for unwrapping optionals. You'll see a bunch of these kinds of loops in the code that follows.
130130

131131
> **Note:** If we kept a tail pointer, `last` would simply do `return tail`. But we don't, so it has to step through the entire list from beginning to the end. It's an expensive operation, especially if the list is long.
132132

0 commit comments

Comments
 (0)