about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorAli Nazzal <ali90h7@pm.me>2025-08-26 19:41:08 +0300
committerAli Nazzal <ali90h7@pm.me>2025-08-26 19:41:08 +0300
commit65f1a9f26747f3a573c1b1a4f4eea4a412f0ffdc (patch)
treef6d222f4ace5b2bc98bf3932d74a91876f2ea1d4 /src
parent6b49e11f885dfeab5b701561b79528e95c210a27 (diff)
downloadrust-65f1a9f26747f3a573c1b1a4f4eea4a412f0ffdc.tar.gz
rust-65f1a9f26747f3a573c1b1a4f4eea4a412f0ffdc.zip
contributing: restore tests/intro.md link; avoid 'this repo' wording
Diffstat (limited to 'src')
-rw-r--r--src/doc/rustc-dev-guide/src/contributing.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/rustc-dev-guide/src/contributing.md b/src/doc/rustc-dev-guide/src/contributing.md
index 157dbbc1379..d0a32f71a3d 100644
--- a/src/doc/rustc-dev-guide/src/contributing.md
+++ b/src/doc/rustc-dev-guide/src/contributing.md
@@ -154,11 +154,11 @@ The CI in rust-lang/rust applies your patches directly against the current maste
 not against the commit your branch is based on. This can lead to unexpected failures
 if your branch is outdated, even when there are no explicit merge conflicts.
 
-Update your branch only when needed: when you have merge conflicts, upstream CI is broken and blocking your green PR, or a maintainer requests it. Avoid updating an already-green PR under review unless necessary. During review, make incremental commits to address feedback. Prefer to squash or rebase at the end, and do so when a reviewer requests it.
+Update your branch only when needed: when you have merge conflicts, upstream CI is broken and blocking your green PR, or a maintainer requests it. Avoid updating an already-green PR under review unless necessary. During review, make incremental commits to address feedback. Prefer to squash or rebase only at the end, or when a reviewer requests it.
 
 When updating, use `git push --force-with-lease` and leave a brief comment explaining what changed. Some repos prefer merging from `upstream/master` instead of rebasing; follow the project's conventions. See [keeping things up to date](git.md#keeping-things-up-to-date) for detailed instructions.
 
-After updating, run local checks (e.g., `mdbook build` for this repo) to catch issues before CI runs.
+After rebasing, it's recommended to [run the relevant tests locally](tests/intro.md) to catch any issues before CI runs.
 
 ### r?