diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-09-19 17:44:44 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-09-19 17:44:44 +0300 |
commit | 295142e4989cad09c9c87de15c650d35b6c31dc8 (patch) | |
tree | 1f89669451191691340071e3b036da5a60f8cea0 /src/tag.rs | |
parent | a189b49e4989d60bf6adbaf19f0e0489cd964d8e (diff) | |
download | bumper-rs-295142e4989cad09c9c87de15c650d35b6c31dc8.tar.gz |
chore: drop unnecessary &, as pointed out by clippy
Sponsored-by: author
Diffstat (limited to 'src/tag.rs')
-rw-r--r-- | src/tag.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -86,7 +86,7 @@ fn parse_template(t: &str) -> Result<Vec<Pattern>, BumperError> { // There was a previous pattern. Is it a fixed string? if let Pattern::Fixed(a) = last { let mut ab = a.clone(); - ab.push_str(&b); + ab.push_str(b); result.push(Pattern::Fixed(ab)) } else { result.push(last); |