Skip to content

Commit d58a069

Browse files
committed
Updated comment [skip ci]
1 parent a89d566 commit d58a069

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
@@ -232,7 +232,7 @@ template<> struct string_traits<pgvector::SparseVector> {
232232
if (i != 0) {
233233
here += pqxx::into_buf(buf.subspan(here), ",", c);
234234
}
235-
// cast to prevent undefined behavior and require less buffer space
235+
// cast to avoid undefined behavior and require less buffer space
236236
here += pqxx::into_buf(buf.subspan(here), static_cast<unsigned int>(indices[i]) + 1, c);
237237
here += pqxx::into_buf(buf.subspan(here), ":", c);
238238
here += pqxx::into_buf(buf.subspan(here), values[i], c);

0 commit comments

Comments
 (0)