mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 17:15:28 +00:00
update comment
This commit is contained in:
parent
6ed544ca62
commit
ba9a679303
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue