Skip to content

Commit 78f0ccb

Browse files
committed
Clean up structure of motivating example
1 parent c48e1bb commit 78f0ccb

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

text/3493-precise-pre-release-cargo-update.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,9 @@ Specifying a pre-release in a version requirement has two affects
2626

2727
However, coupling these concerns makes it difficult to try out pre-releases
2828
because every dependency in the tree has to opt-in.
29-
For example, if a maintainer releases `dep = "0.1.1-pre.0"`.
30-
They may ask one of their users to try the new API additions in a large project so that the user can give feedback on the release before the maintainer stabilises the new parts of the API.
29+
For example, a maintainer asks one of their users to try new API additions in
30+
`dep = "0.1.1-pre.0"` in a large project so that the user can give feedback on
31+
the release before the maintainer stabilises the new parts of the API.
3132
Unfortunately, since `dep = "0.1.0"` is a transitive dependency of several dependencies of the large project, `cargo` refuses the upgrade, stating that `0.1.1-pre.0` is incompatible with `0.1.0`.
3233
The user is left with no upgrade path to the pre-release unless they are able to convince all of their transitive uses of `dep` to release pre-releases of their own.
3334

0 commit comments

Comments
 (0)