mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-02 06:41: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
|
@ -963,7 +963,7 @@ pub fn animation_for_property(
|
|||
);
|
||||
}
|
||||
}
|
||||
return Default::default();
|
||||
Default::default()
|
||||
},
|
||||
))
|
||||
}
|
||||
|
|
|
@ -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)
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
@ -206,7 +206,7 @@ pub(crate) fn completion_at(
|
|||
_ => (),
|
||||
}
|
||||
}
|
||||
return None;
|
||||
None
|
||||
}
|
||||
|
||||
fn with_insert_text(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue