diff options
| author | Philipp Krones <hello@philkrones.com> | 2018-11-21 06:08:33 -0600 |
|---|---|---|
| committer | Wayne Warren <wayne.warren.s@gmail.com> | 2018-11-21 07:52:02 -0600 |
| commit | d4a6ee4a0c8308342c60e6b597872c19a5c6704c (patch) | |
| tree | ee6be942c56d73bddad9a275d136af0feef51e94 | |
| parent | cb5e327c58576feb8bcafcb59b698c65be9e4833 (diff) | |
| download | rust-d4a6ee4a0c8308342c60e6b597872c19a5c6704c.tar.gz rust-d4a6ee4a0c8308342c60e6b597872c19a5c6704c.zip | |
Fix nit
Co-Authored-By: waynr <wayne.warren.s@gmail.com>
| -rw-r--r-- | clippy_lints/src/trivially_copy_pass_by_ref.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/trivially_copy_pass_by_ref.rs b/clippy_lints/src/trivially_copy_pass_by_ref.rs index 8d442cd1b35..d811ce4ecb9 100644 --- a/clippy_lints/src/trivially_copy_pass_by_ref.rs +++ b/clippy_lints/src/trivially_copy_pass_by_ref.rs @@ -118,7 +118,7 @@ impl<'a, 'tcx> TriviallyCopyPassByRef { for (input, &ty) in decl.inputs.iter().zip(sig.inputs()) { // All spans generated from a proc-macro invocation are the same... match span { - Some(s) if s == input.span => return, + Some(s) if s == input.span => return, _ => (), } |
