3

Shrink `missing_{safety,errors,panics}_doc` spans by lukas-code · Pull Request #...

 1 year ago
source link: https://github.com/rust-lang/rust-clippy/pull/9772
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

Conversation

Shrink the spans of clippy::missing_*_doc to match missing_docs and don't cover the entire item anymore. This helps readability in IDEs by not coloring the entire screen yellow, similar to rust-lang/rust#103749 and rust-lang/rust#90761.

before:

image

after:

image

changelog: [missing_safety_doc], [missing_error_doc], [missing_panics_doc]: These lints no longer span the entire item.

All reactions

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK