From c9e218bfc4503f279bd342949ff2fbf65f9f6451 Mon Sep 17 00:00:00 2001 From: SteveLauC Date: Wed, 9 Oct 2024 15:58:49 +0800 Subject: [PATCH] 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 --- pgrx/src/iter.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pgrx/src/iter.rs b/pgrx/src/iter.rs index 35076314e0..089e9156b5 100644 --- a/pgrx/src/iter.rs +++ b/pgrx/src/iter.rs @@ -100,7 +100,7 @@ where /// /// [`TableIterator`] is typically used as the return type of a `#[pg_extern]`-style function, /// indicating that the function returns a table of named columns. [`TableIterator`] is -/// generic over `T`, but that `T` must be a Rust tuple containing one or more elements. They +/// generic over `Row`, but that `Row` must be a Rust tuple containing one or more elements. They /// must also be "named" using pgrx's [`name!`][crate::name] macro. See the examples below. /// /// It is a lightweight wrapper around an iterator, which you provide during construction. The