From 40e802516807047563276608a3de5e6b3a6d7ad6 Mon Sep 17 00:00:00 2001 From: Dirk Van Haerenborgh Date: Fri, 6 Jul 2018 08:30:43 +0200 Subject: [PATCH] fix styling --- src/codegen/subclass/trampoline_to_glib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/codegen/subclass/trampoline_to_glib.rs b/src/codegen/subclass/trampoline_to_glib.rs index 466f29763..9f167cd8f 100644 --- a/src/codegen/subclass/trampoline_to_glib.rs +++ b/src/codegen/subclass/trampoline_to_glib.rs @@ -96,7 +96,7 @@ fn to_glib_with_destroy(parameter: &library::Parameter, format!(r#"{{ let ret = {param_prefix}{param_name}{to_glib}; unsafe extern "C" fn destroy_{param_name}(p: glib_ffi::gpointer){{ - let _:{rust_type} = {glib_translate}::from_glib_full(p as {c_type}); + let _: {rust_type} = {glib_translate}::from_glib_full(p as {c_type}); }}; gobject_ffi::g_object_set_qdata_full(gptr as *mut gobject_ffi::GObject, glib_ffi::g_quark_from_string("rs_{object_name}_{method_name}_{param_name}".to_glib_none().0),