mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-01 14:21:16 +00:00
janitor: Sprinkle #[must_use] over the codebase
This commit is contained in:
parent
df504897d6
commit
ac8f7b4957
9 changed files with 11 additions and 0 deletions
|
@ -530,6 +530,7 @@ pub trait ComponentHandle {
|
|||
Self: Sized;
|
||||
|
||||
/// Returns a clone of this handle that's a strong reference.
|
||||
#[must_use]
|
||||
fn clone_strong(&self) -> Self;
|
||||
|
||||
/// Internal function used when upgrading a weak reference to a strong one.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue