rust-lang / rust-clippy

A bunch of lints to catch common mistakes and improve your Rust code. Book: https://doc.rust-lang.org/clippy/
https://rust-lang.github.io/rust-clippy/
Other
10.89k stars 1.45k forks source link

Don't suggest `Box::default()` in functions with differing generics #12687

Closed Alexendoo closed 1 week ago

Alexendoo commented 3 weeks ago

Fixes #12684

changelog: none

rustbot commented 3 weeks ago

r? @xFrednet

rustbot has assigned @xFrednet. They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

xFrednet commented 1 week ago

LGTM, thank you for the fix!

@bors r+

bors commented 1 week ago

:pushpin: Commit 66362efb09bfaa8ee85a97b350d6c97174c0ad93 has been approved by xFrednet

It is now in the queue for this repository.

bors commented 1 week ago

:hourglass: Testing commit 66362efb09bfaa8ee85a97b350d6c97174c0ad93 with merge a7f66baaf15c6aa4c74333d312a522c1a76735e6...

bors commented 1 week ago

:sunny: Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test Approved by: xFrednet Pushing a7f66baaf15c6aa4c74333d312a522c1a76735e6 to master...