mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-15 17:20:08 +00:00
update comment
This commit is contained in:
parent
6ed544ca62
commit
ba9a679303
@ -89,7 +89,7 @@ impl List {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Find list item by `Value`
|
/// Find list item by `Value`
|
||||||
/// * return list item `position` found
|
/// * return `position` found
|
||||||
pub fn find(&self, value: i64) -> Option<u32> {
|
pub fn find(&self, value: i64) -> Option<u32> {
|
||||||
self.model
|
self.model
|
||||||
.find_with_equal_func(|this| value == this.clone().downcast::<Item>().unwrap().value())
|
.find_with_equal_func(|this| value == this.clone().downcast::<Item>().unwrap().value())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user