Skip to content

Commit 2cab095

Browse files
committed
docs: cargo install cargo expand: Recommend --locked
cargo's default behaviour is simply wrong. rust-lang/rfcs#3585
1 parent d5ac20a commit 2cab095

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
//! First of all, the [`cargo expand`] tool must be present. You can install it via cargo:
7272
//!
7373
//! ```bash
74-
//! cargo install cargo-expand
74+
//! cargo install --locked cargo-expand
7575
//! ```
7676
//!
7777
//! ## Setting up a test project

0 commit comments

Comments
 (0)