Skip to content

Commit 4f76422

Browse files
committed
Fix formatting
1 parent 862dd92 commit 4f76422

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎src/data-structures/linked-list.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,12 +140,12 @@
140140
while (current) {
141141
temp = current.next;
142142
current.next = prev;
143-
prev.prev = current;
143+
prev.prev = current;
144144
prev = current;
145145
current = temp;
146146
}
147147
this.first.next = null;
148-
this.last.prev = null;
148+
this.last.prev = null;
149149
temp = this.first;
150150
this.first = prev;
151151
this.last = temp;

0 commit comments

Comments
 (0)