summaryrefslogtreecommitdiff
path: root/src/git.rs
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-09-19 17:44:44 +0300
committerLars Wirzenius <liw@liw.fi>2021-09-19 17:44:44 +0300
commit295142e4989cad09c9c87de15c650d35b6c31dc8 (patch)
tree1f89669451191691340071e3b036da5a60f8cea0 /src/git.rs
parenta189b49e4989d60bf6adbaf19f0e0489cd964d8e (diff)
downloadbumper-rs-295142e4989cad09c9c87de15c650d35b6c31dc8.tar.gz
chore: drop unnecessary &, as pointed out by clippy
Sponsored-by: author
Diffstat (limited to 'src/git.rs')
-rw-r--r--src/git.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/git.rs b/src/git.rs
index 061ed61..26ed4cd 100644
--- a/src/git.rs
+++ b/src/git.rs
@@ -4,7 +4,7 @@ use std::path::Path;
use std::process::Command;
pub fn tag<P: AsRef<Path>>(dirname: P, tag_name: &str, msg: &str) -> Result<(), BumperError> {
- git(dirname.as_ref(), &["tag", "-am", &msg, &tag_name])?;
+ git(dirname.as_ref(), &["tag", "-am", msg, tag_name])?;
Ok(())
}