Skip to content

Commit

Permalink
chore: fix error with clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
veritem committed Feb 10, 2022
1 parent c8aaa51 commit 41e4220
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ pub fn new_commit() -> String {
let comm_desc = commit_description();
let comm_body = commit_body();

let mut commit = format!("{comm_type}");
let mut commit = comm_type.to_string();

if comm_scope.len() > 2 {
commit.push_str(&format!("({comm_scope})"))
Expand Down

0 comments on commit 41e4220

Please sign in to comment.