Skip to content

Commit fd580b2

Browse files
committed
fix(future): Indent potential candidates
This better matches other sub-lists
1 parent 506c35b commit fd580b2

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/cargo/core/compiler/future_incompat.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ fn get_updates(ws: &Workspace<'_>, package_ids: &BTreeSet<PackageId>) -> Option<
362362
write!(
363363
updates,
364364
"
365-
{} has the following newer versions available: {}",
365+
- {} has the following newer versions available: {}",
366366
pkg_id, updated_versions
367367
)
368368
.unwrap();

tests/testsuite/future_incompat_report.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -606,8 +606,8 @@ fn suggestions_for_updates() {
606606
- Some affected dependencies have newer versions available.
607607
You may want to consider updating them to a newer version to see if the issue has been fixed.
608608
609-
big_update v1.0.0 has the following newer versions available: 2.0.0
610-
with_updates v1.0.0 has the following newer versions available: 1.0.1, 1.0.2, 3.0.1
609+
- big_update v1.0.0 has the following newer versions available: 2.0.0
610+
- with_updates v1.0.0 has the following newer versions available: 1.0.1, 1.0.2, 3.0.1
611611
612612
- If the issue is not solved by updating the dependencies, a fix has to be
613613
implemented by those dependencies. You can help with that by notifying the
@@ -653,8 +653,8 @@ To solve this problem, you can try the following approaches:
653653
- Some affected dependencies have newer versions available.
654654
You may want to consider updating them to a newer version to see if the issue has been fixed.
655655
656-
big_update v1.0.0 has the following newer versions available: 2.0.0
657-
with_updates v1.0.0 has the following newer versions available: 1.0.1, 1.0.2, 3.0.1
656+
- big_update v1.0.0 has the following newer versions available: 2.0.0
657+
- with_updates v1.0.0 has the following newer versions available: 1.0.1, 1.0.2, 3.0.1
658658
659659
- If the issue is not solved by updating the dependencies, a fix has to be
660660
implemented by those dependencies. You can help with that by notifying the

0 commit comments

Comments
 (0)