Skip to content

Commit e2de919

Browse files
committed
fix(future): Be consistent in suggestion spacing
1 parent 701860b commit e2de919

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

src/cargo/core/compiler/future_incompat.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -502,10 +502,6 @@ https://doc.rust-lang.org/cargo/reference/overriding-dependencies.html#the-patch
502502
{suggestion_header}"
503503
)
504504
.unwrap();
505-
if suggestions.len() == 3 {
506-
// HACK: there is an inconsistent leading line in this case
507-
writeln!(&mut suggestion_message).unwrap();
508-
}
509505
for suggestion in &suggestions {
510506
writeln!(
511507
&mut suggestion_message,

tests/testsuite/future_incompat_report.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -606,7 +606,6 @@ fn suggestions_for_updates() {
606606
[NOTE]
607607
To solve this problem, you can try the following approaches:
608608
609-
610609
- Some affected dependencies have newer versions available.
611610
You may want to consider updating them to a newer version to see if the issue has been fixed.
612611
@@ -655,7 +654,6 @@ means and how to resolve it.
655654
656655
To solve this problem, you can try the following approaches:
657656
658-
659657
- Some affected dependencies have newer versions available.
660658
You may want to consider updating them to a newer version to see if the issue has been fixed.
661659

0 commit comments

Comments
 (0)