Skip to content

Commit 7c74c3e

Browse files
committed
Wrap comment at 80 columns
1 parent 89a4558 commit 7c74c3e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

clippy_lints/src/trivially_copy_pass_by_ref.rs

+3-2
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,9 @@ impl<'a, 'tcx> LateLintPass<'a, 'tcx> for TriviallyCopyPassByRef {
121121
let fn_sig = cx.tcx.fn_sig(fn_def_id);
122122
let fn_sig = cx.tcx.erase_late_bound_regions(&fn_sig);
123123

124-
// Use lifetimes to determine if we're returning a reference to the argument. In that case
125-
// we can't switch to pass-by-value as the argument will not live long enough.
124+
// Use lifetimes to determine if we're returning a reference to the
125+
// argument. In that case we can't switch to pass-by-value as the
126+
// argument will not live long enough.
126127
let output_lt = if let TypeVariants::TyRef(output_lt, _, _) = fn_sig.output().sty {
127128
Some(output_lt)
128129
} else {

0 commit comments

Comments
 (0)