Improve documentation of borrowed_box
#8161
Labels
A-documentation
Area: Adding or improving documentation
good-first-issue
These issues are a good way to get started with Clippy
Description
This came up in #3971.
The documentation could need some improvement. It should mention, that by removing the Box from
&Box<T>
, you no longer have to box the parameter when it is passed to the function. For more information, see the discussion in #3971.Version
No response
Additional Labels
No response
The text was updated successfully, but these errors were encountered: