Skip to content

Commit c9e218b

Browse files
authored
docs: update generic type name of TableIterator (#1905)
Update the doc of `TableIterator`, the generic type was renamed in #1701 but the doc was not updated
1 parent 3ea09af commit c9e218b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pgrx/src/iter.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ where
100100
///
101101
/// [`TableIterator`] is typically used as the return type of a `#[pg_extern]`-style function,
102102
/// indicating that the function returns a table of named columns. [`TableIterator`] is
103-
/// generic over `T`, but that `T` must be a Rust tuple containing one or more elements. They
103+
/// generic over `Row`, but that `Row` must be a Rust tuple containing one or more elements. They
104104
/// must also be "named" using pgrx's [`name!`][crate::name] macro. See the examples below.
105105
///
106106
/// It is a lightweight wrapper around an iterator, which you provide during construction. The

0 commit comments

Comments
 (0)