Skip to content

Commit f91c13c

Browse files
committed
Updated comment [skip ci]
1 parent a48e54c commit f91c13c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/pgvector/pqxx.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ template<> struct string_traits<pgvector::SparseVector> {
246246
if (i != 0) {
247247
here += pqxx::into_buf(buf.subspan(here), ",", c);
248248
}
249-
// cast to prevent undefined behavior on overflow and require less buffer space
249+
// cast to prevent undefined behavior and require less buffer space
250250
here += pqxx::into_buf(buf.subspan(here), static_cast<unsigned int>(indices[i]) + 1, c);
251251
here += pqxx::into_buf(buf.subspan(here), ":", c);
252252
here += pqxx::into_buf(buf.subspan(here), values[i], c);

0 commit comments

Comments
 (0)