Skip to content

Commit 7573a0c

Browse files
authored
Merge pull request kodecocodes#442 from darrellhz/patch-1
Update README.markdown
2 parents 2ce23ca + 3395c01 commit 7573a0c

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
@@ -364,7 +364,7 @@ What else do we need? Removing nodes, of course! First we'll do `removeAll()`, w
364364

365365
If you had a tail pointer, you'd set it to `nil` here too.
366366

367-
Next we'll add some functions that let you remove individual nodes. If you already have a reference to the node, then using `removeNode()` is the most optimal because you don't need to iterate through the list to find the node first.
367+
Next we'll add some functions that let you remove individual nodes. If you already have a reference to the node, then using `remove()` is the most optimal because you don't need to iterate through the list to find the node first.
368368

369369
```swift
370370
public func remove(node: Node) -> T {

0 commit comments

Comments
 (0)