mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-01 22:31:14 +00:00
Janitor: Fix clippy::needless_return
This commit is contained in:
parent
24a2021226
commit
c74565a883
3 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue