@@ -239,7 +239,7 @@ fn render_report(per_package_reports: &[FutureIncompatReportPackage]) -> BTreeMa
239239 ) ;
240240 let rendered = report. entry ( package_spec) . or_default ( ) ;
241241 rendered. push_str ( & format ! (
242- "The package `{}` currently triggers the following future incompatibility lints:\n " ,
242+ "The package `{}` currently triggers the following future incompatibility lints:\n " ,
243243 per_package. package_id
244244 ) ) ;
245245 for item in & per_package. items {
@@ -359,7 +359,6 @@ pub fn save_and_display_report(
359359 } ;
360360 let report_id = current_reports. next_id ;
361361
362-
363362 // Get a list of unique and sorted package name/versions.
364363 let package_ids: BTreeSet < _ > = per_package_future_incompat_reports
365364 . iter ( )
@@ -409,10 +408,10 @@ You may want to consider updating them to a newer version to see if the issue ha
409408 )
410409 } )
411410 . collect :: < Vec < _ > > ( )
412- . join ( "\n " ) ;
411+ . join ( "\n " ) ;
413412
414413 let suggestion_message = format ! (
415- "
414+ "
416415To solve this problem, you can try the following approaches:
417416
418417{update_message}
@@ -427,11 +426,10 @@ section in `Cargo.toml` to use your own version of the dependency. For more
427426information, see:
428427https://doc.rust-lang.org/cargo/reference/overriding-dependencies.html#the-patch-section
429428 " ,
430- upstream_info = upstream_info,
431- update_message = update_message,
429+ upstream_info = upstream_info,
430+ update_message = update_message,
432431 ) ;
433432
434-
435433 current_reports. save_report (
436434 bcx. ws ,
437435 suggestion_message. clone ( ) ,
0 commit comments