diff options
| author | y21 <30553356+y21@users.noreply.github.com> | 2023-04-05 22:49:12 +0200 |
|---|---|---|
| committer | jyn <github@jyn.dev> | 2023-04-05 19:29:18 -0500 |
| commit | 8cafe9b652cc5c3a92d6ddd99d655a37b06efb80 (patch) | |
| tree | 9c47f2d7eb8bed6b3b8ff8b602afcc216bf2f973 /src/doc/rustc-dev-guide | |
| parent | 715a3f869d0e024188700fbd3d8b5eb80771a6be (diff) | |
| download | rust-8cafe9b652cc5c3a92d6ddd99d655a37b06efb80.tar.gz rust-8cafe9b652cc5c3a92d6ddd99d655a37b06efb80.zip | |
fix line length
Diffstat (limited to 'src/doc/rustc-dev-guide')
| -rw-r--r-- | src/doc/rustc-dev-guide/src/building/how-to-build-and-run.md | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/doc/rustc-dev-guide/src/building/how-to-build-and-run.md b/src/doc/rustc-dev-guide/src/building/how-to-build-and-run.md index 1475dc62c33..59893bdc1c6 100644 --- a/src/doc/rustc-dev-guide/src/building/how-to-build-and-run.md +++ b/src/doc/rustc-dev-guide/src/building/how-to-build-and-run.md @@ -28,10 +28,12 @@ cd rust Due to the size of the repository, cloning on a slower internet connection can take a long time. To sidestep this, you can use the `--depth N` option with the `git clone` command. -This instructs `git` to perform a "shallow clone", cloning the repository but truncating it to the last `N` commits. +This instructs `git` to perform a "shallow clone", cloning the repository but truncating it to +the last `N` commits. -Passing `--depth 1` tells `git` to clone the repository but truncate the history to the latest commit -that is on the `master` branch, which is usually fine for browsing the source code or building the compiler. +Passing `--depth 1` tells `git` to clone the repository but truncate the history to the latest +commit that is on the `master` branch, which is usually fine for browsing the source code or +building the compiler. ```bash git clone --depth 1 https://github.com/rust-lang/rust.git |
