diff options
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"); |