Skip to content

Commit

Permalink
docs: cargo install cargo expand: Recommend --locked
Browse files Browse the repository at this point in the history
cargo's default behaviour is simply wrong.
  rust-lang/rfcs#3585
  • Loading branch information
ijackson committed Mar 30, 2024
1 parent d5ac20a commit 2cab095
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Expand Up @@ -71,7 +71,7 @@
//! First of all, the [`cargo expand`] tool must be present. You can install it via cargo:
//!
//! ```bash
//! cargo install cargo-expand
//! cargo install --locked cargo-expand
//! ```
//!
//! ## Setting up a test project
Expand Down

0 comments on commit 2cab095

Please sign in to comment.