Skip to content

Fix typo in cargo-yank docs#16656

Merged
epage merged 1 commit intorust-lang:masterfrom
alexhrao:patch-1
Feb 23, 2026
Merged

Fix typo in cargo-yank docs#16656
epage merged 1 commit intorust-lang:masterfrom
alexhrao:patch-1

Conversation

@alexhrao
Copy link
Contributor

This fixes a (very small) typo in the docs for cargo-yank. Specifically, since "unintentional SemVer breakages" is plural, the "an" that was at the beginning of that sentence was incorrect.

What does this PR try to resolve?

There wasn't an issue, just a very tiny typo

How to test and review this PR?

Hopefully this shouldn't need any testing... it's just a change to a markdown file

@rustbot rustbot added A-documenting-cargo-itself Area: Cargo's documentation S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Feb 19, 2026
@rustbot
Copy link
Collaborator

rustbot commented Feb 19, 2026

r? @ehuss

rustbot has assigned @ehuss.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

Why was this reviewer chosen?

The reviewer was selected based on:

  • Owners of files modified in this PR: @ehuss, @epage, @weihanglo
  • @ehuss, @epage, @weihanglo expanded to ehuss, epage, weihanglo
  • Random selection from ehuss, epage, weihanglo

@epage
Copy link
Contributor

epage commented Feb 19, 2026

You'll need to run:

cargo build-man
SNAPSHOTS=overwrite cargo test

and amend your commit with the result to pass CI

@alexhrao alexhrao force-pushed the patch-1 branch 2 times, most recently from fd2bb6a to 39954fa Compare February 23, 2026 18:53
@rustbot rustbot added the A-cli-help Area: built-in command-line help label Feb 23, 2026
@alexhrao
Copy link
Contributor Author

I'm not entirely sure what I did wrong here... I ran the following

cargo clean
cargo build-man
SNAPSHOTS=overwrite cargo test

And committed all the changed files. I see in some of the checks it mentions to use SNAPSHOTS=overwrite... Isn't that what the third line would have done? Any guidance on what I'm doing wrong here would be greatly appreciated!

@epage
Copy link
Contributor

epage commented Feb 23, 2026

Unsure why it included all of that content but I would revert the unrelated snapshots

@alexhrao
Copy link
Contributor Author

Okay, so specifically I should remove the changes to tests/testsuite/build_dir.rs and tests/testsuite/build_dir_legacy.rs?

This fixes a (very small) typo in the docs for `cargo-yank`. Specifically,
since "unintentional SemVer breakages" is plural, the "an" that was
at the beginning of that sentence was incorrect.
@epage epage added this pull request to the merge queue Feb 23, 2026
@epage
Copy link
Contributor

epage commented Feb 23, 2026

Thanks!

Merged via the queue into rust-lang:master with commit 5d9fc0b Feb 23, 2026
29 checks passed
@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Feb 23, 2026
@alexhrao alexhrao deleted the patch-1 branch February 24, 2026 15:19
arlosi added a commit to arlosi/rust that referenced this pull request Feb 25, 2026
8 commits in 8cc0cb136772b8f54eafe0d163fcb7226a06af0c..f298b8c82da0cba538516b45b04a480fc501d4c0
2026-02-17 12:16:26 +0000 to 2026-02-24 21:59:20 +0000
- fix(host-config): fix panic when cross-compiling with host-config (rust-lang/cargo#16674)
- doc: improve documentation on using cfg values with build scripts (rust-lang/cargo#16671)
- Fix typo in cargo-yank docs (rust-lang/cargo#16656)
- fix(job_queue): Handle Clippy CLI arguments in `fix` message (rust-lang/cargo#16652)
- Add a test for fingerprint checking when a symlink target changes (rust-lang/cargo#16661)
- Fix parallel locking when `-Zfine-grain-locking` is enabled (rust-lang/cargo#16659)
- fix(cli): Remove `--lockfile-path` (rust-lang/cargo#16621)
- test(build-std): Update error message (rust-lang/cargo#16658)
rust-bors bot pushed a commit to rust-lang/rust that referenced this pull request Feb 26, 2026
Update cargo submodule

8 commits in 8cc0cb136772b8f54eafe0d163fcb7226a06af0c..f298b8c82da0cba538516b45b04a480fc501d4c0 2026-02-17 12:16:26 +0000 to 2026-02-24 21:59:20 +0000
- fix(host-config): fix panic when cross-compiling with host-config (rust-lang/cargo#16674)
- doc: improve documentation on using cfg values with build scripts (rust-lang/cargo#16671)
- Fix typo in cargo-yank docs (rust-lang/cargo#16656)
- fix(job_queue): Handle Clippy CLI arguments in `fix` message (rust-lang/cargo#16652)
- Add a test for fingerprint checking when a symlink target changes (rust-lang/cargo#16661)
- Fix parallel locking when `-Zfine-grain-locking` is enabled (rust-lang/cargo#16659)
- fix(cli): Remove `--lockfile-path` (rust-lang/cargo#16621)
- test(build-std): Update error message (rust-lang/cargo#16658)
@rustbot rustbot added this to the 1.95.0 milestone Feb 26, 2026
RalfJung pushed a commit to RalfJung/miri that referenced this pull request Feb 26, 2026
Update cargo submodule

8 commits in 8cc0cb136772b8f54eafe0d163fcb7226a06af0c..f298b8c82da0cba538516b45b04a480fc501d4c0 2026-02-17 12:16:26 +0000 to 2026-02-24 21:59:20 +0000
- fix(host-config): fix panic when cross-compiling with host-config (rust-lang/cargo#16674)
- doc: improve documentation on using cfg values with build scripts (rust-lang/cargo#16671)
- Fix typo in cargo-yank docs (rust-lang/cargo#16656)
- fix(job_queue): Handle Clippy CLI arguments in `fix` message (rust-lang/cargo#16652)
- Add a test for fingerprint checking when a symlink target changes (rust-lang/cargo#16661)
- Fix parallel locking when `-Zfine-grain-locking` is enabled (rust-lang/cargo#16659)
- fix(cli): Remove `--lockfile-path` (rust-lang/cargo#16621)
- test(build-std): Update error message (rust-lang/cargo#16658)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-cli-help Area: built-in command-line help A-documenting-cargo-itself Area: Cargo's documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants