From 5c4cdd5d8b79e1863b9edd5a8808d35fe39e26ba Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Mon, 13 May 2024 23:57:13 +0000 Subject: [PATCH] [autofix.ci] apply automated fixes --- crates/llama-cpp-server/build.rs | 3 +-- crates/llama-cpp-server/src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/crates/llama-cpp-server/build.rs b/crates/llama-cpp-server/build.rs index f91c9c535b3f..b59a76f9fc27 100644 --- a/crates/llama-cpp-server/build.rs +++ b/crates/llama-cpp-server/build.rs @@ -69,8 +69,7 @@ fn main() { make_output_binary(&out, "llama-server") }; - std::fs::rename(server_binary, &renamed_server_binary) - .expect("Failed to rename server binary"); + std::fs::rename(server_binary, &renamed_server_binary).expect("Failed to rename server binary"); copy_to_output(&renamed_server_binary) .expect("Failed to copy server binary to output directory"); } diff --git a/crates/llama-cpp-server/src/lib.rs b/crates/llama-cpp-server/src/lib.rs index 64afd6e9080f..f4250e90f3b1 100644 --- a/crates/llama-cpp-server/src/lib.rs +++ b/crates/llama-cpp-server/src/lib.rs @@ -6,7 +6,7 @@ use futures::stream::BoxStream; use serde_json::json; use tabby_inference::{CompletionOptions, CompletionStream, Embedding}; use tokio::task::JoinHandle; -use tracing::{warn}; +use tracing::warn; pub struct LlamaCppServer { port: u16,