Skip to content

Commit 5bded6a

Browse files
committed
Updated doc comments [skip ci]
1 parent c99b157 commit 5bded6a

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

include/pgvector/halfvec.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ using Half = float;
3232
/// A half vector.
3333
class HalfVector {
3434
public:
35-
/// Creates a half vector from a `std::vector<pgvector::Half>`.
35+
/// Creates a half vector from a `std::vector`.
3636
explicit HalfVector(const std::vector<Half>& value) : value_{value} {}
3737

38-
/// Creates a half vector from a `std::vector<pgvector::Half>`.
38+
/// Creates a half vector from a `std::vector`.
3939
explicit HalfVector(std::vector<Half>&& value) : value_{std::move(value)} {}
4040

4141
/// Creates a half vector from a span.
@@ -46,7 +46,7 @@ class HalfVector {
4646
return value_.size();
4747
}
4848

49-
/// Returns the half vector as a `std::vector<pgvector::Half>`.
49+
/// Returns the half vector as a `std::vector`.
5050
const std::vector<Half>& as_vector() const {
5151
return value_;
5252
}

include/pgvector/vector.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ namespace pgvector {
1616
/// A vector.
1717
class Vector {
1818
public:
19-
/// Creates a vector from a `std::vector<float>`.
19+
/// Creates a vector from a `std::vector`.
2020
explicit Vector(const std::vector<float>& value) : value_{value} {}
2121

22-
/// Creates a vector from a `std::vector<float>`.
22+
/// Creates a vector from a `std::vector`.
2323
explicit Vector(std::vector<float>&& value) : value_{std::move(value)} {}
2424

2525
/// Creates a vector from a span.
@@ -30,7 +30,7 @@ class Vector {
3030
return value_.size();
3131
}
3232

33-
/// Returns the vector as a `std::vector<float>`.
33+
/// Returns the vector as a `std::vector`.
3434
const std::vector<float>& as_vector() const {
3535
return value_;
3636
}

0 commit comments

Comments
 (0)