Skip to content

Commit 3fd08c3

Browse files
authored
Merge pull request Snailclimb#2258 from visitor23/main
Update linkedlist-source-code.md
2 parents 6eaf13c + 52af79d commit 3fd08c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
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)