From 3ed4ad8dd1989b90d751040c00a67ff64c720012 Mon Sep 17 00:00:00 2001 From: Sean Leather Date: Fri, 5 Apr 2019 12:57:55 +0200 Subject: [PATCH] Clarify docs of install without --- src/bin/cargo/commands/install.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/bin/cargo/commands/install.rs b/src/bin/cargo/commands/install.rs index f4d6f430076..55815509ef8 100644 --- a/src/bin/cargo/commands/install.rs +++ b/src/bin/cargo/commands/install.rs @@ -89,9 +89,8 @@ enables overwriting existing binaries. Thus you can reinstall a crate with `cargo install --force `. Omitting the specification entirely will install the crate in the -current directory. That is, `install` is equivalent to the more explicit -`install --path .`. This behaviour is deprecated, and no longer supported as -of the Rust 2018 edition. +current directory. This behaviour is deprecated, and it no longer works in the +Rust 2018 edition. Use the more explicit `install --path .` instead. If the source is crates.io or `--git` then by default the crate will be built in a temporary target directory. To avoid this, the target directory can be