Skip to content

Conversation

@Apriluestc
Copy link

No description provided.

// 因为, sortList 已经帮忙检查过了

cur := &ListNode{}
headPre := cur

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ineffectual assignment to headPre (from ineffassign)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个测试代码怎么弄啊

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

你还写 Go 代码?

他的意思是:对 headPre 的无效分配(来自 ineffassign lint)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants