Skip to content

Commit 302f595

Browse files
committed
Clippy
1 parent ce4586c commit 302f595

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

build/native/cargo_driver.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -308,13 +308,11 @@ pub fn build() -> Result<EspIdfBuildOutput> {
308308
cargo::print_warning("Building against ESP-IDF `master` is not officially supported, because it is considered bleeding edge and might get backwards-incompatible changes.");
309309
} else if curr_branch.starts_with("release/v") {
310310
cargo::print_warning(format_args!(
311-
"Building against ESP-IDF branch `{}` is not officially supported, because `release/vX.Y.Z` branches do not have a stable ESP-IDF version.",
312-
curr_branch
311+
"Building against ESP-IDF branch `{curr_branch}` is not officially supported, because `release/vX.Y.Z` branches do not have a stable ESP-IDF version.",
313312
));
314313
} else if !curr_branch.starts_with("v") {
315314
cargo::print_warning(format_args!(
316-
"Building against ESP-IDF branch `{}` is not officially supported, because it does not follow the `vX.Y.Z` ESP-IDF release tag naming convention.",
317-
curr_branch
315+
"Building against ESP-IDF branch `{curr_branch}` is not officially supported, because it does not follow the `vX.Y.Z` ESP-IDF release tag naming convention.",
318316
));
319317
}
320318
}

0 commit comments

Comments
 (0)