Fix warning (#1016)

This commit is contained in:
Felix Rabe 2019-07-06 19:28:50 +02:00 committed by Osspial
parent 4a5d639d74
commit 7d3ff3d2d9

View file

@ -288,7 +288,7 @@ impl WindowBuilder {
/// Possible causes of error include denied permission, incompatible system, and lack of memory. /// Possible causes of error include denied permission, incompatible system, and lack of memory.
#[inline] #[inline]
pub fn build<T: 'static>( pub fn build<T: 'static>(
mut self, self,
window_target: &EventLoopWindowTarget<T>, window_target: &EventLoopWindowTarget<T>,
) -> Result<Window, OsError> { ) -> Result<Window, OsError> {
// building // building