mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-01 06:11:16 +00:00
Janitor: Fix clippy::useless_conversion
This commit is contained in:
parent
60575e7878
commit
09e272abb6
2 changed files with 5 additions and 6 deletions
|
@ -26,7 +26,7 @@ pub fn use_modules() -> usize {
|
|||
#[no_mangle]
|
||||
pub unsafe extern "C" fn sixtyfps_windowrc_init(out: *mut WindowRcOpaque) {
|
||||
assert_eq!(core::mem::size_of::<WindowRc>(), core::mem::size_of::<WindowRcOpaque>());
|
||||
core::ptr::write(out as *mut WindowRc, crate::backend().create_window().into());
|
||||
core::ptr::write(out as *mut WindowRc, crate::backend().create_window());
|
||||
}
|
||||
|
||||
#[no_mangle]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue