mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-01 22:31:14 +00:00
Janitor: Fix clippy::missing_safety_doc
This commit is contained in:
parent
9dcd107e84
commit
cbdea7c9c7
2 changed files with 8 additions and 1 deletions
|
@ -99,7 +99,8 @@ pub trait PropertyInfo<Item, Value> {
|
|||
|
||||
/// Calls Property::link_two_ways with the property represented here and the property pointer
|
||||
///
|
||||
/// Safety: the property2 must be a pinned pointer to a Property of the same type
|
||||
/// # Safety
|
||||
/// the property2 must be a pinned pointer to a Property of the same type
|
||||
#[allow(unsafe_code)]
|
||||
unsafe fn link_two_ways(&self, item: Pin<&Item>, property2: *const ());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue