about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTshepang Mbambo <hopsi@tuta.io>2025-09-22 16:26:27 +0200
committerTshepang Mbambo <hopsi@tuta.io>2025-09-22 16:26:27 +0200
commit62b2bd5809c18b79798b730058f494d9a2fb85c4 (patch)
tree3bf56c286d0b21cc2f943115f2994a646a4004b1
parent391a2ea868d3f9d545127098573dec0b7d6344b8 (diff)
downloadrust-62b2bd5809c18b79798b730058f494d9a2fb85c4.tar.gz
rust-62b2bd5809c18b79798b730058f494d9a2fb85c4.zip
reduce overlong lines
-rw-r--r--src/doc/rustc-dev-guide/src/building/bootstrapping/writing-tools-in-bootstrap.md11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/doc/rustc-dev-guide/src/building/bootstrapping/writing-tools-in-bootstrap.md b/src/doc/rustc-dev-guide/src/building/bootstrapping/writing-tools-in-bootstrap.md
index 8250a6f3b51..8ac2e6bfe28 100644
--- a/src/doc/rustc-dev-guide/src/building/bootstrapping/writing-tools-in-bootstrap.md
+++ b/src/doc/rustc-dev-guide/src/building/bootstrapping/writing-tools-in-bootstrap.md
@@ -19,11 +19,16 @@ There are three types of tools you can write in bootstrap:
 
   Use this for tools that use the `rustc_private` mechanism,
   and thus depend on the locally built `rustc` and its rlib artifacts.
-  This is more complex than the other modes because the tool must be built with the same compiler used for `rustc` and placed in the "stageN-tools" directory.
-  When you choose `Mode::ToolRustcPrivate`, `ToolBuild` implementation takes care of this automatically.
+  This is more complex than the other modes,
+  because the tool must be built with the same compiler used for `rustc`,
+  and placed in the "stageN-tools" directory.
+  When you choose `Mode::ToolRustcPrivate`,
+  `ToolBuild` implementation takes care of this automatically.
   If you need to use the builder’s compiler for something specific,
   you can get it from `ToolBuildResult`, which is returned by the tool's [`Step`].
 
-Regardless of the tool type you must return `ToolBuildResult` from the tool’s [`Step`] implementation and use `ToolBuild` inside it.
+Regardless of the tool type,
+you must return `ToolBuildResult` from the tool’s [`Step`] implementation,
+and use `ToolBuild` inside it.
 
 [`Step`]: https://doc.rust-lang.org/nightly/nightly-rustc/bootstrap/core/builder/trait.Step.html