Skip to content

Commit 54026c1

Browse files
committed
Fix line length
1 parent eaeebb5 commit 54026c1

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/librustc/middle/liveness.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1658,10 +1658,12 @@ impl<'a, 'tcx> Liveness<'a, 'tcx> {
16581658
if let Some(name) = self.should_warn(var) {
16591659
if is_argument {
16601660
self.ir.tcx.lint_hir(lint::builtin::UNUSED_ASSIGNMENTS, hir_id, sp,
1661-
&format!("value passed to `{}` is never read (maybe it is overwritten before being read)", name));
1661+
&format!("value passed to `{}` is never read
1662+
(maybe it is overwritten before being read)", name));
16621663
} else {
16631664
self.ir.tcx.lint_hir(lint::builtin::UNUSED_ASSIGNMENTS, hir_id, sp,
1664-
&format!("value assigned to `{}` is never read (maybe it is overwritten before being read)", name));
1665+
&format!("value assigned to `{}` is never read
1666+
(maybe it is overwritten before being read)", name));
16651667
}
16661668
}
16671669
}

0 commit comments

Comments
 (0)