Skip to content

Commit 5f4858e

Browse files
committed
Tidier
1 parent 9567c1c commit 5f4858e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/librustc/middle/ty.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5132,7 +5132,8 @@ pub fn note_and_explain_type_err<'tcx>(cx: &ctxt<'tcx>, err: &type_err<'tcx>) {
51325132
let found_str = ty_sort_string(cx, values.found);
51335133
if expected_str == found_str && expected_str == "closure" {
51345134
cx.sess.note(&format!("no two closures, even if identical, have the same type"));
5135-
cx.sess.help(&format!("consider boxing your closure and/or using it as a trait object"));
5135+
cx.sess.help(&format!("consider boxing your closure and/or \
5136+
using it as a trait object"));
51365137
}
51375138
}
51385139
_ => {}

0 commit comments

Comments
 (0)