remove needless borrow (#4149)
This commit is contained in:
committed by
GitHub
parent
2a4c1d96a4
commit
8113095ff5
@@ -79,7 +79,7 @@ impl VersionBumpExt for Version {
|
||||
major: self.major,
|
||||
minor: self.minor,
|
||||
patch: self.patch,
|
||||
pre: try_bump_raw_prerelease(&self.pre.as_str())?,
|
||||
pre: try_bump_raw_prerelease(self.pre.as_str())?,
|
||||
build: self.build.clone(),
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user