From a5b3843c4ad24974d6bf4a0821ab23a5bda8c8ec Mon Sep 17 00:00:00 2001 From: Steve Lau Date: Wed, 9 Oct 2024 14:35:41 +0800 Subject: [PATCH] docs: update generic type name of TableIterator --- 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