Skip to content

Commit 7d5c794

Browse files
committed
Rustfmt
1 parent e30490d commit 7d5c794

File tree

1 file changed

+5
-1
lines changed
  • compiler/rustc_driver/src

1 file changed

+5
-1
lines changed

compiler/rustc_driver/src/lib.rs

+5-1
Original file line numberDiff line numberDiff line change
@@ -1068,7 +1068,11 @@ pub fn handle_options(args: &[String]) -> Option<getopts::Matches> {
10681068

10691069
if cg_flags.iter().any(|x| *x == "passes=list") {
10701070
let backend_name = debug_flags.iter().find_map(|x| {
1071-
if x.starts_with("codegen-backend=") { Some(&x["codegen-backends=".len()..]) } else { None }
1071+
if x.starts_with("codegen-backend=") {
1072+
Some(&x["codegen-backends=".len()..])
1073+
} else {
1074+
None
1075+
}
10721076
});
10731077
get_codegen_backend(&None, backend_name).print_passes();
10741078
return None;

0 commit comments

Comments
 (0)