title: How to disable a clippy lint for a single line / block?
body: <p>I am getting some Clippy lints that look like this:</p>
  
  <pre class="lang-none prettyprint-override"><code>warning: methods called `to_*` usually take self by reference; consider choosing a less ambiguous name
    --&gt; src/helpers/mod.rs:29:32
     |
  29 |     pub fn to_vec_sorted&lt;U, F&gt;(self, mapper: F) -&gt; Vec&lt;U&gt;
     |                                ^^^^
     |
     = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#wrong_self_convention
  </code></pre>
  
  <p>I have no problem dealing with this lint, I just picked it because it doesn't show any proprietary code. Suppose I had a really good reason why I needed to name the function this way, and also that Clippy is integrated into my CI, so I need to have zero Clippy errors / warnings.</p>
  
  <p>Is there a way to disable a Clippy lint <em>for a particular line or code block</em>, analogous to <code>@SuppressWarnings("whatever")</code> in Java? I feel like there must be, but I can't find any examples of doing this in the documentation.</p>