From 2cab095e1e2c752d061f1b801deb18d889bff4d5 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 30 Mar 2024 11:41:08 +0000 Subject: [PATCH] docs: cargo install cargo expand: Recommend --locked cargo's default behaviour is simply wrong. https://github.com/rust-lang/rfcs/pull/3585 --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 1dc6f9e..361aa21 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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