Minor documentation cleanups
This commit is contained in:
parent
b287739c0b
commit
f89e400578
3 changed files with 10 additions and 10 deletions
|
|
@ -16,9 +16,9 @@ pub struct EscapePass;
|
|||
|
||||
/// **What it does:** This lint checks for usage of `Box<T>` where an unboxed `T` would work fine. It is `Warn` by default.
|
||||
///
|
||||
/// **Why is this bad?** This is an unnecessary allocation, and bad for performance
|
||||
/// **Why is this bad?** This is an unnecessary allocation, and bad for performance. It is only necessary to allocate if you wish to move the box into something.
|
||||
///
|
||||
/// It is only necessary to allocate if you wish to move the box into something.
|
||||
/// **Known problems:** None
|
||||
///
|
||||
/// **Example:**
|
||||
///
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue