Skip to content

Commit eb8870f

Browse files
committed
docs(cargo-install): clarify default location is about "sources"
1 parent 48cffc6 commit eb8870f

File tree

4 files changed

+11
-10
lines changed

4 files changed

+11
-10
lines changed

src/doc/man/cargo-install.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ installed, and all executables are installed into the installation root's
2424
{{> description-install-root }}
2525

2626
There are multiple sources from which a crate can be installed. The default
27-
location is crates.io but the `--git`, `--path`, and `--registry` flags can
28-
change this source. If the source contains more than one package (such as
27+
source location is crates.io but the `--git`, `--path`, and `--registry` flags
28+
can change this source. If the source contains more than one package (such as
2929
crates.io or a git repository with multiple crates) the _crate_ argument is
3030
required to indicate which crate should be installed.
3131

src/doc/man/generated_txt/cargo-install.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,11 @@ DESCRIPTION
3030
o $HOME/.cargo
3131

3232
There are multiple sources from which a crate can be installed. The
33-
default location is crates.io but the --git, --path, and --registry
34-
flags can change this source. If the source contains more than one
35-
package (such as crates.io or a git repository with multiple crates) the
36-
crate argument is required to indicate which crate should be installed.
33+
default source location is crates.io but the --git, --path, and
34+
--registry flags can change this source. If the source contains more
35+
than one package (such as crates.io or a git repository with multiple
36+
crates) the crate argument is required to indicate which crate should be
37+
installed.
3738

3839
Crates from crates.io can optionally specify the version they wish to
3940
install via the --version flags, and similarly packages from git

src/doc/src/commands/cargo-install.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ The installation root is determined, in order of precedence:
2626
- `$HOME/.cargo`
2727

2828
There are multiple sources from which a crate can be installed. The default
29-
location is crates.io but the `--git`, `--path`, and `--registry` flags can
30-
change this source. If the source contains more than one package (such as
29+
source location is crates.io but the `--git`, `--path`, and `--registry` flags
30+
can change this source. If the source contains more than one package (such as
3131
crates.io or a git repository with multiple crates) the _crate_ argument is
3232
required to indicate which crate should be installed.
3333

src/etc/man/cargo-install.1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ The installation root is determined, in order of precedence:
4242
.RE
4343
.sp
4444
There are multiple sources from which a crate can be installed. The default
45-
location is crates.io but the \fB\-\-git\fR, \fB\-\-path\fR, and \fB\-\-registry\fR flags can
46-
change this source. If the source contains more than one package (such as
45+
source location is crates.io but the \fB\-\-git\fR, \fB\-\-path\fR, and \fB\-\-registry\fR flags
46+
can change this source. If the source contains more than one package (such as
4747
crates.io or a git repository with multiple crates) the \fIcrate\fR argument is
4848
required to indicate which crate should be installed.
4949
.sp

0 commit comments

Comments
 (0)