This commit is contained in:
Michael Vines
2021-10-22 21:25:54 -07:00
committed by mergify[bot]
parent 293a0d8797
commit 350bb561eb
18 changed files with 35 additions and 52 deletions

View File

@@ -310,10 +310,7 @@ fn quote_for_test(
#[cfg(RUSTC_WITH_SPECIALIZATION)]
fn test_mod_name(type_name: &Ident) -> Ident {
Ident::new(
&format!("{}_frozen_abi", type_name.to_string()),
Span::call_site(),
)
Ident::new(&format!("{}_frozen_abi", type_name), Span::call_site())
}
#[cfg(RUSTC_WITH_SPECIALIZATION)]