diff options
author | qkzk <qu3nt1n@gmail.com> | 2023-10-08 13:06:02 +0200 |
---|---|---|
committer | qkzk <qu3nt1n@gmail.com> | 2023-10-08 13:06:02 +0200 |
commit | 0f332b9ae43e48377a321ef923bf71f74331e1eb (patch) | |
tree | b29237fe554ea751bee085eac4ad141084818846 /src/git.rs | |
parent | 807f504270c3fc2e25b70a723302ad20f3c8317a (diff) |
clippy
Diffstat (limited to 'src/git.rs')
-rw-r--r-- | src/git.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -80,7 +80,7 @@ impl GitStatus { git_string.push('('); if let Some(branch) = &self.branch { - git_string.push_str(&branch); + git_string.push_str(branch); } else { // Detached head git_string.push_str(":HEAD"); |