We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
features
1 parent d2c188e commit bf5e79bCopy full SHA for bf5e79b
bindgen-cli/options.rs
@@ -12,9 +12,9 @@ use std::process::exit;
12
13
fn rust_target_help() -> String {
14
format!(
15
- "Version of the Rust compiler to target. Valid options are: {:?}. Defaults to {:?}.",
+ "Version of the Rust compiler to target. Valid options are: {:?}. Defaults to {}.",
16
RUST_TARGET_STRINGS,
17
- String::from(RustTarget::default())
+ RustTarget::default()
18
)
19
}
20
bindgen/codegen/mod.rs
@@ -4348,7 +4348,7 @@ fn unsupported_abi_diagnostic(
4348
.add_annotation(
4349
4350
"The configured Rust version is {}.",
4351
- String::from(ctx.options().rust_target)
+ ctx.options().rust_target
4352
),
4353
Level::Note,
4354
);
0 commit comments