diff --git a/Makefile b/Makefile index 4af2ed9d..d6bb3446 100644 --- a/Makefile +++ b/Makefile @@ -161,7 +161,7 @@ tool_clippy: tool_rust tool_readme: tool_rust @if ! (cargo rdme --version); \ then \ - cargo install cargo-rdme --version 1.4.0; \ + cargo install cargo-rdme --version 1.4.0 --locked; \ else \ echo "# Makefile # readme ok"; \ fi; diff --git a/crates/tx5-pipe-control/src/lib.rs b/crates/tx5-pipe-control/src/lib.rs index a115750a..cbb3373a 100644 --- a/crates/tx5-pipe-control/src/lib.rs +++ b/crates/tx5-pipe-control/src/lib.rs @@ -37,7 +37,7 @@ pub mod control_impl { /// Report a message from the server. pub fn handle_response(&self, resp: Tx5PipeResponse) { if let Some(cmd_id) = resp.get_cmd_id() { - self.resp_cache.lock().unwrap().resp(cmd_id.clone(), resp); + self.resp_cache.lock().unwrap().resp(cmd_id, resp); return; }