Add explanation

This commit is contained in:
sinkuu 2017-02-19 18:06:14 +09:00
parent d81d961ba7
commit d2f73e7818

View File

@ -13,7 +13,8 @@ use std::collections::HashSet;
/// **What it does:** Checks for functions taking arguments by value, but only using them by
/// reference.
///
/// **Why is this bad?**
/// **Why is this bad?** In such cases, taking arguments by reference is more flexible and
/// can sometimes avoid unnecessary allocations.
///
/// **Known problems:** Hopefully none.
///