@@ -17,8 +17,7 @@ use crate::ffi::{
1717/// A flat vector borrowed from a [`DataChunkHandle`].
1818///
1919/// The `'a` lifetime ties the vector to the chunk it was obtained from,
20- /// preventing the chunk from being dropped while the vector is still alive
21- /// (see <https://github.com/duckdb/duckdb-rs/issues/673>).
20+ /// preventing the chunk from being dropped while the vector is still alive.
2221pub struct FlatVector < ' a > {
2322 ptr : duckdb_vector ,
2423 capacity : usize ,
@@ -166,8 +165,7 @@ impl Inserter<&Vec<u8>> for FlatVector<'_> {
166165/// A list vector borrowed from a [`DataChunkHandle`].
167166///
168167/// The `'a` lifetime ties the vector to the chunk it was obtained from,
169- /// preventing the chunk from being dropped while the vector is still alive
170- /// (see <https://github.com/duckdb/duckdb-rs/issues/673>).
168+ /// preventing the chunk from being dropped while the vector is still alive.
171169///
172170/// Regression test for the use-after-free in issue #673: a `ListVector`
173171/// must not be allowed to outlive its parent `DataChunkHandle`.
@@ -279,11 +277,10 @@ impl<'a> ListVector<'a> {
279277 }
280278}
281279
282- /// A array vector (fixed-size list) borrowed from a [`DataChunkHandle`].
280+ /// An array vector (fixed-size list) borrowed from a [`DataChunkHandle`].
283281///
284282/// The `'a` lifetime ties the vector to the chunk it was obtained from,
285- /// preventing the chunk from being dropped while the vector is still alive
286- /// (see <https://github.com/duckdb/duckdb-rs/issues/673>).
283+ /// preventing the chunk from being dropped while the vector is still alive.
287284pub struct ArrayVector < ' a > {
288285 ptr : duckdb_vector ,
289286 _phantom : PhantomData < & ' a ( ) > ,
@@ -338,8 +335,7 @@ impl<'a> ArrayVector<'a> {
338335/// A struct vector borrowed from a [`DataChunkHandle`].
339336///
340337/// The `'a` lifetime ties the vector to the chunk it was obtained from,
341- /// preventing the chunk from being dropped while the vector is still alive
342- /// (see <https://github.com/duckdb/duckdb-rs/issues/673>).
338+ /// preventing the chunk from being dropped while the vector is still alive.
343339pub struct StructVector < ' a > {
344340 ptr : duckdb_vector ,
345341 _phantom : PhantomData < & ' a ( ) > ,
0 commit comments