Skip to content

Commit 52af79d

Browse files
authored
Update linkedlist-source-code.md
修改了一处拼写错误, 将 'fals' 改正为 'false'.
1 parent 6eaf13c commit 52af79d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/java/collection/linkedlist-source-code.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ public E removeLast() {
250250
return unlinkLast(l);
251251
}
252252

253-
// 删除链表中首次出现的指定元素,如果不存在该元素则返回 fals
253+
// 删除链表中首次出现的指定元素,如果不存在该元素则返回 false
254254
public boolean remove(Object o) {
255255
// 如果指定元素为 null,遍历链表找到第一个为 null 的元素进行删除
256256
if (o == null) {

0 commit comments

Comments
 (0)