From 677ea14715eef22c35fb753c09464e24b203c317 Mon Sep 17 00:00:00 2001 From: Conner Bradley Date: Fri, 9 Jun 2023 20:48:22 -0400 Subject: [PATCH] Formatting fixes --- bindgen/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bindgen/lib.rs b/bindgen/lib.rs index ec53865dcb..9d1ebb4599 100644 --- a/bindgen/lib.rs +++ b/bindgen/lib.rs @@ -692,7 +692,8 @@ fn rust_to_clang_target(rust_target: &str) -> String { return clang_target; } else if rust_target.starts_with("riscv32imac-") { let mut clang_target = "riscv32-".to_owned(); - clang_target.push_str(rust_target.strip_prefix("riscv32imac-").unwrap()); + clang_target + .push_str(rust_target.strip_prefix("riscv32imac-").unwrap()); return clang_target; } rust_target.to_owned()