Skip to content

Commit 0b2299e

Browse files
committed
Remove an excess newline
The udpate_message already has a newline when it is there. When it is an empty string, it ends up adding an unnecessary blank line.
1 parent b17b9a4 commit 0b2299e

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

src/cargo/core/compiler/future_incompat.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@ You may want to consider updating them to a newer version to see if the issue ha
483483
"
484484
To solve this problem, you can try the following approaches:
485485
486-
{update_message}
486+
{update_message}\
487487
- If the issue is not solved by updating the dependencies, a fix has to be
488488
implemented by those dependencies. You can help with that by notifying the
489489
maintainers of this problem (e.g. by creating a bug report) or by proposing a

tests/testsuite/future_incompat_report.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,6 @@ fn incompat_in_dependency() {
149149
[NOTE]
150150
To solve this problem, you can try the following approaches:
151151
152-
153152
- If the issue is not solved by updating the dependencies, a fix has to be
154153
implemented by those dependencies. You can help with that by notifying the
155154
maintainers of this problem (e.g. by creating a bug report) or by proposing a
@@ -184,7 +183,6 @@ means and how to resolve it.
184183
185184
To solve this problem, you can try the following approaches:
186185
187-
188186
- If the issue is not solved by updating the dependencies, a fix has to be
189187
implemented by those dependencies. You can help with that by notifying the
190188
maintainers of this problem (e.g. by creating a bug report) or by proposing a
@@ -634,7 +632,6 @@ fix to the maintainers (e.g. by creating a pull request):
634632
section in `Cargo.toml` to use your own version of the dependency. For more
635633
information, see:
636634
https://doc.rust-lang.org/cargo/reference/overriding-dependencies.html#the-patch-section
637-
638635
[NOTE] this report can be shown with `cargo report future-incompatibilities --id 1`
639636
640637
"#]].unordered())
@@ -662,7 +659,6 @@ You may want to consider updating them to a newer version to see if the issue ha
662659
big_update v1.0.0 has the following newer versions available: 2.0.0
663660
with_updates v1.0.0 has the following newer versions available: 1.0.1, 1.0.2, 3.0.1
664661
665-
666662
- If the issue is not solved by updating the dependencies, a fix has to be
667663
implemented by those dependencies. You can help with that by notifying the
668664
maintainers of this problem (e.g. by creating a bug report) or by proposing a
@@ -724,7 +720,6 @@ fn correct_report_id_when_cached() {
724720
[NOTE]
725721
To solve this problem, you can try the following approaches:
726722
727-
728723
- If the issue is not solved by updating the dependencies, a fix has to be
729724
implemented by those dependencies. You can help with that by notifying the
730725
maintainers of this problem (e.g. by creating a bug report) or by proposing a
@@ -752,7 +747,6 @@ https://doc.rust-lang.org/cargo/reference/overriding-dependencies.html#the-patch
752747
[NOTE]
753748
To solve this problem, you can try the following approaches:
754749
755-
756750
- If the issue is not solved by updating the dependencies, a fix has to be
757751
implemented by those dependencies. You can help with that by notifying the
758752
maintainers of this problem (e.g. by creating a bug report) or by proposing a

0 commit comments

Comments
 (0)