From e2e29c3934e40cfd4fde6f1b5e7517810c3bf1cd Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Thu, 25 Sep 2025 14:23:55 +0800 Subject: Fixed by Clippy --- crates/vcs/src/workspace/local.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'crates/vcs/src/workspace/local.rs') diff --git a/crates/vcs/src/workspace/local.rs b/crates/vcs/src/workspace/local.rs index 0119952..6beb842 100644 --- a/crates/vcs/src/workspace/local.rs +++ b/crates/vcs/src/workspace/local.rs @@ -57,8 +57,7 @@ impl LocalWorkspace { LocalConfig::write_to(&config, local_path.join(CLIENT_FILE_WORKSPACE)).await?; // 2. Setup README.md - let readme_content = format!( - "\ + let readme_content = "\ # JustEnoughVCS Local Workspace This directory is a **Local Workspace** managed by `JustEnoughVCS`. All files and subdirectories within this scope can be version-controlled using the `JustEnoughVCS` CLI or GUI tools, with the following exceptions: @@ -89,8 +88,7 @@ Without these credentials, the server will reject all access requests. ------ *Thank you for using JustEnoughVCS!* -" - ) +".to_string() .trim() .to_string(); fs::write(local_path.join(CLIENT_FILE_README), readme_content).await?; -- cgit