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.
#[inline]
pub fn build<T: 'static>(
mut self,
self,
window_target: &EventLoopWindowTarget<T>,
) -> Result<Window, OsError> {
// building