diff --git a/window/src/lib.rs b/window/src/lib.rs index 3c2c88470..f0a4d8f23 100644 --- a/window/src/lib.rs +++ b/window/src/lib.rs @@ -189,7 +189,11 @@ pub trait WindowOps { fn enable_opengl< F: Send + 'static - + Fn(&mut dyn Any, &dyn WindowOps, failure::Fallible>), + + Fn( + &mut dyn Any, + &dyn WindowOps, + failure::Fallible>, + ), >( &self, func: F, diff --git a/window/src/os/macos/window.rs b/window/src/os/macos/window.rs index 36267592f..02d5c553d 100644 --- a/window/src/os/macos/window.rs +++ b/window/src/os/macos/window.rs @@ -389,7 +389,11 @@ impl WindowOps for Window { fn enable_opengl< F: Send + 'static - + Fn(&mut dyn Any, &dyn WindowOps, failure::Fallible>), + + Fn( + &mut dyn Any, + &dyn WindowOps, + failure::Fallible>, + ), >( &self, func: F, diff --git a/window/src/os/windows/window.rs b/window/src/os/windows/window.rs index a00a7b468..026e11379 100644 --- a/window/src/os/windows/window.rs +++ b/window/src/os/windows/window.rs @@ -326,7 +326,11 @@ impl WindowOps for Window { fn enable_opengl< F: Send + 'static - + Fn(&mut dyn Any, &dyn WindowOps, failure::Fallible>), + + Fn( + &mut dyn Any, + &dyn WindowOps, + failure::Fallible>, + ), >( &self, func: F, diff --git a/window/src/os/x11/window.rs b/window/src/os/x11/window.rs index 5c9c49df9..3f09d2aeb 100644 --- a/window/src/os/x11/window.rs +++ b/window/src/os/x11/window.rs @@ -525,7 +525,11 @@ impl WindowOps for Window { fn enable_opengl< F: Send + 'static - + Fn(&mut dyn Any, &dyn WindowOps, failure::Fallible>), + + Fn( + &mut dyn Any, + &dyn WindowOps, + failure::Fallible>, + ), >( &self, func: F,