mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-02 06:41:14 +00:00
Janitor: Fix clippy::needless_lifetimes
This commit is contained in:
parent
d26707e41e
commit
91c78f61e9
1 changed files with 3 additions and 3 deletions
|
@ -294,9 +294,9 @@ pub unsafe extern "C" fn sixtyfps_interpreter_struct_iterator_next<'a>(
|
||||||
}
|
}
|
||||||
|
|
||||||
#[no_mangle]
|
#[no_mangle]
|
||||||
pub extern "C" fn sixtyfps_interpreter_struct_make_iter<'a>(
|
pub extern "C" fn sixtyfps_interpreter_struct_make_iter(
|
||||||
stru: &'a StructOpaque,
|
stru: &StructOpaque,
|
||||||
) -> StructIteratorOpaque<'a> {
|
) -> StructIteratorOpaque {
|
||||||
let ret_it: StructIterator = stru.as_struct().0.iter();
|
let ret_it: StructIterator = stru.as_struct().0.iter();
|
||||||
unsafe {
|
unsafe {
|
||||||
let mut r = std::mem::MaybeUninit::<StructIteratorOpaque>::uninit();
|
let mut r = std::mem::MaybeUninit::<StructIteratorOpaque>::uninit();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue