Skip to content
This repository has been archived by the owner on Jun 8, 2021. It is now read-only.

Commit

Permalink
Fix build with two-phase-borrows (aka NLL)
Browse files Browse the repository at this point in the history
  • Loading branch information
sdroege committed Aug 8, 2018
1 parent e2d8c17 commit d894937
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/list_box.rs
Expand Up @@ -80,7 +80,7 @@ impl<O: IsA<ListBox> + IsA<Object>> ListBoxExtManual for O {
func: glib_ffi::gpointer,
) where T: IsA<ListBox>
{
let func = func as *const &mut (FnMut(&T, &ListBoxRow));
let func = func as *mut &mut (FnMut(&T, &ListBoxRow));

(*func)(
&ListBox::from_glib_borrow(this).downcast_unchecked(),
Expand Down

0 comments on commit d894937

Please sign in to comment.