diff options
| author | 魏曹先生 <1992414357@qq.com> | 2025-09-25 14:23:55 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2025-09-25 14:23:55 +0800 |
| commit | e2e29c3934e40cfd4fde6f1b5e7517810c3bf1cd (patch) | |
| tree | 2629abac480a4ca697c8dec09e7f79f690be3b8b /crates/vcs/src/workspace/local.rs | |
| parent | 300b0eeb68618a2b66469e83b79384a2d612c05d (diff) | |
Fixed by Clippy
Diffstat (limited to 'crates/vcs/src/workspace/local.rs')
| -rw-r--r-- | crates/vcs/src/workspace/local.rs | 6 |
1 files changed, 2 insertions, 4 deletions
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?; |
