Remove format

This commit is contained in:
Maik Klein 2018-11-04 09:26:10 +01:00
parent adf571c95c
commit 35d6bdf144

View file

@ -775,7 +775,7 @@ fn generate_function_pointers(ident: Ident, commands: &[&vkxml::Command]) -> quo
#names_ref: unsafe {
extern "system" fn #names_ref1 (#expanded_params_unused) -> #return_types_ref {
panic!("Unable to load {}", stringify!(#names_ref2))
panic!(concat!("Unable to load ", stringify!(#names_ref2)))
}
let raw_name = stringify!(#raw_names_ref);
let cname = ::std::ffi::CString::new(raw_name).unwrap();