diff --git a/pgrx/src/varlena.rs b/pgrx/src/varlena.rs index df8cc8b643..f4995bc8d3 100644 --- a/pgrx/src/varlena.rs +++ b/pgrx/src/varlena.rs @@ -358,7 +358,7 @@ pub fn rust_str_to_text_p(s: &str) -> PgBox { unsafe { PgBox::from_pg(bytea.as_ptr() as *mut pg_sys::varlena) } } -/// Convert a Rust `&[u8]]` into a Postgres `bytea *` (which is really a varchar) +/// Convert a Rust `&[u8]` into a Postgres `bytea *` (which is really a varchar) /// /// This allocates the returned Postgres `bytea *` in `CurrentMemoryContext`. #[inline]