Skip to content

Commit 33e3b72

Browse files
refactor: inline format argument
1 parent db75a25 commit 33e3b72

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/bors/handlers/review.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,9 +169,8 @@ async fn notify_of_edited_pr(
169169
.post_comment(
170170
pr_number,
171171
Comment::new(format!(
172-
r#":warning: The base branch changed to `{}`, and the
172+
r#":warning: The base branch changed to `{base_name}`, and the
173173
PR will need to be re-approved."#,
174-
base_name
175174
)),
176175
)
177176
.await

0 commit comments

Comments
 (0)