update comment

This commit is contained in:
yggverse 2024-11-29 08:49:57 +02:00
parent 6ed544ca62
commit ba9a679303

View File

@ -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())