6
Add borrow_as_ptr lint by guerinoni · Pull Request #8210 · rust-lang/rust-clippy...
source link: https://github.com/rust-lang/rust-clippy/pull/8210
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.
Closes: #6995
- Followed [lint naming conventions][lint_naming]
-
Added passing UI tests (including committed
.stderr
file) -
cargo test
passes locally -
Executed
cargo dev update_lints
- Added lint documentation
-
Run
cargo dev fmt
changelog: new lint: [borrow_as_ptr
]
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK