Janitor: Fix clippy::needless_return

This commit is contained in:
Tobias Hunger 2021-08-04 21:31:38 +02:00 committed by Olivier Goffart
parent 24a2021226
commit c74565a883
3 changed files with 3 additions and 3 deletions

View file

@ -59,7 +59,7 @@ pub fn backend() -> &'static dyn sixtyfps_corelib::backend::Backend {
// If Qt is not available always fallback to Gl
return Box::new(sixtyfps_rendering_backend_gl::Backend);
}
return Box::new(default_backend::Backend);
Box::new(default_backend::Backend)
})
}