12

Github Adding the default lint level to the metadata collection by xFrednet · Pu...

 3 years ago
source link: https://github.com/rust-lang/rust-clippy/pull/7246
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Copy link

Contributor

xFrednet commented 15 days ago

edited

I noticed while working on the website adaption that the lint groups still had the clippy:: prefix in the JSON output. This PR removes this prefix and adds a level field to each lint and with that simplifies the website display and saves performance.

The deprecated lints get are assigned to the level none. This is a bit different in comparison to the current lint list, but I believe that this will look better overall. Unless there is any argument against this :).

That's it just a small baby PR in comparison to the original monster ^^


See: #7172 for the full metadata collection to-do list or to suggest a new feature in connection to it.


changelog: none

r? @flip1995


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK