From c92b9e11c370a988f6b963dd09abd503b3b60090 Mon Sep 17 00:00:00 2001 From: Meng Zhang Date: Mon, 11 Dec 2023 12:42:43 +0800 Subject: [PATCH] chore: fix rust build warning --- crates/llama-cpp-bindings/src/llama.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/llama-cpp-bindings/src/llama.rs b/crates/llama-cpp-bindings/src/llama.rs index 15db135..df967df 100644 --- a/crates/llama-cpp-bindings/src/llama.rs +++ b/crates/llama-cpp-bindings/src/llama.rs @@ -83,7 +83,7 @@ impl LlamaServiceImpl { }; for ffi::StepOutput { request_id, text } in result { - let mut stopped = false; + let mut stopped: bool; let LlamaRunningRequest { tx, stop_condition } = self.requests.get_mut(&request_id).unwrap();