diff --git a/01.workspace/heave/src/imp/catalog_for_each.rs b/01.workspace/heave/src/imp/catalog_for_each.rs index 032fe6d..38dc49d 100644 --- a/01.workspace/heave/src/imp/catalog_for_each.rs +++ b/01.workspace/heave/src/imp/catalog_for_each.rs @@ -17,7 +17,9 @@ impl Catalog { /// /// # Returns /// - /// A `Result` indicating success (`Ok(())`) or failure (`Err(FailedTo)`). + /// A `Result` indicating success (`Ok(())`) or failure (`Err(FailedTo::LockCatalog)`). + /// Entities that cannot be converted to type `T` are silently skipped from the iteration + /// and do not cause this function to return an error. pub fn for_each(&self, mut predicate: F) -> Result<(), FailedTo> where T: EAV,