about summary refs log tree commit diff
path: root/src/bootstrap/cc_detect.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/bootstrap/cc_detect.rs')
-rw-r--r--src/bootstrap/cc_detect.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/cc_detect.rs b/src/bootstrap/cc_detect.rs
index ade3bfed11f..2496c2a9db5 100644
--- a/src/bootstrap/cc_detect.rs
+++ b/src/bootstrap/cc_detect.rs
@@ -196,7 +196,7 @@ fn set_compiler(
                 '0'..='6' => {}
                 _ => return,
             }
-            let alternative = format!("e{}", gnu_compiler);
+            let alternative = format!("e{gnu_compiler}");
             if Command::new(&alternative).output().is_ok() {
                 cfg.compiler(alternative);
             }