From 7c74c3e5080dd6312e552b77dc0e667140ee4897 Mon Sep 17 00:00:00 2001 From: Ryan Cumming Date: Mon, 23 Jul 2018 19:37:41 +1000 Subject: [PATCH] Wrap comment at 80 columns --- clippy_lints/src/trivially_copy_pass_by_ref.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/clippy_lints/src/trivially_copy_pass_by_ref.rs b/clippy_lints/src/trivially_copy_pass_by_ref.rs index d27f4f061cb..6a048b19213 100644 --- a/clippy_lints/src/trivially_copy_pass_by_ref.rs +++ b/clippy_lints/src/trivially_copy_pass_by_ref.rs @@ -121,8 +121,9 @@ impl<'a, 'tcx> LateLintPass<'a, 'tcx> for TriviallyCopyPassByRef { let fn_sig = cx.tcx.fn_sig(fn_def_id); let fn_sig = cx.tcx.erase_late_bound_regions(&fn_sig); - // Use lifetimes to determine if we're returning a reference to the argument. In that case - // we can't switch to pass-by-value as the argument will not live long enough. + // Use lifetimes to determine if we're returning a reference to the + // argument. In that case we can't switch to pass-by-value as the + // argument will not live long enough. let output_lt = if let TypeVariants::TyRef(output_lt, _, _) = fn_sig.output().sty { Some(output_lt) } else {