Skip to content

Commit eae6330

Browse files
committed
Fix incorrect documentation
This method panics if the type is incorrect. It doesn’t return `Err`.
1 parent 180531c commit eae6330

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gio/src/list_model.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ pub trait ListModelExtManual: IsA<ListModel> + Sized {
2121

2222
// rustdoc-stripper-ignore-next
2323
/// If `T::static_type().is_a(self.item_type())` then it returns an iterator over the `ListModel` elements,
24-
/// else the types are not compatible and returns an `Err(...)`.
24+
/// else the types are not compatible and it panics.
2525
///
2626
/// # Panics
2727
///

0 commit comments

Comments
 (0)