File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ impl ValueArray {
118
118
b : ffi:: gconstpointer ,
119
119
func : ffi:: gpointer ,
120
120
) -> i32 {
121
- let func = func as * mut & mut ( dyn FnMut ( & Value , & Value ) -> Ordering ) ;
121
+ let func = func as * mut & mut dyn FnMut ( & Value , & Value ) -> Ordering ;
122
122
123
123
let a = & * ( a as * const Value ) ;
124
124
let b = & * ( b as * const Value ) ;
@@ -127,9 +127,9 @@ impl ValueArray {
127
127
}
128
128
unsafe {
129
129
let mut func = compare_func;
130
- let func_obj: & mut ( dyn FnMut ( & Value , & Value ) -> Ordering ) = & mut func;
130
+ let func_obj: & mut dyn FnMut ( & Value , & Value ) -> Ordering = & mut func;
131
131
let func_ptr =
132
- & func_obj as * const & mut ( dyn FnMut ( & Value , & Value ) -> Ordering ) as ffi:: gpointer ;
132
+ & func_obj as * const & mut dyn FnMut ( & Value , & Value ) -> Ordering as ffi:: gpointer ;
133
133
134
134
gobject_ffi:: g_value_array_sort_with_data (
135
135
self . to_glib_none_mut ( ) . 0 ,
You can’t perform that action at this time.
0 commit comments