diff --git a/gio/src/list_model.rs b/gio/src/list_model.rs index 1c9874948707..83356a6f6ac1 100644 --- a/gio/src/list_model.rs +++ b/gio/src/list_model.rs @@ -21,7 +21,7 @@ pub trait ListModelExtManual: IsA + Sized { // rustdoc-stripper-ignore-next /// If `T::static_type().is_a(self.item_type())` then it returns an iterator over the `ListModel` elements, - /// else the types are not compatible and returns an `Err(...)`. + /// else the types are not compatible and it panics. /// /// # Panics ///