Skip to content

有些clippy lint的group 和 level 不太对 #13

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
heisen-li opened this issue Nov 4, 2021 · 3 comments
Open

有些clippy lint的group 和 level 不太对 #13

heisen-li opened this issue Nov 4, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@heisen-li
Copy link
Contributor

heisen-li commented Nov 4, 2021

比如说有些章节里边的lint信息似乎不对?

G.TYP.Bool.01 返回为布尔值的表达式或函数值不需要和布尔字面量进行比较

在这一节中的lint信息:
image

但是链接里边的信息:
image

似乎这种问题挺多,这个是咱们自己设置的?还是编辑的时候发生了错误?

@heisen-li heisen-li changed the title 有些clippy lint的group he level 有些clippy lint的group 和 level 不太对 Nov 4, 2021
@heisen-li
Copy link
Contributor Author

image

image

@ZhangHanDong
Copy link
Contributor

ZhangHanDong commented Nov 4, 2021

@qiangheisenberg 是编写规范的时候复制格式时候忘记改了 ,发现有错误的地方可以直接改掉,回头发个 PR

@heisen-li
Copy link
Contributor Author

好的

@ZhangHanDong ZhangHanDong added the bug Something isn't working label Nov 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants