aboutsummaryrefslogtreecommitdiffstats
path: root/util/generic/array_ref.h
diff options
context:
space:
mode:
authorAlexey Bykov <alexei4203@yandex.ru>2022-02-10 16:47:16 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:16 +0300
commit4cadece7a57ab767e762a0bea1995a596aefeb11 (patch)
tree7649c16cf4b52e994709f6c9e1716c993ca28759 /util/generic/array_ref.h
parent143876304996506751ade0b80b3c47f188b9834f (diff)
downloadydb-4cadece7a57ab767e762a0bea1995a596aefeb11.tar.gz
Restoring authorship annotation for Alexey Bykov <alexei4203@yandex.ru>. Commit 1 of 2.
Diffstat (limited to 'util/generic/array_ref.h')
-rw-r--r--util/generic/array_ref.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/generic/array_ref.h b/util/generic/array_ref.h
index 1ac60ac7d3..e4a4975ba9 100644
--- a/util/generic/array_ref.h
+++ b/util/generic/array_ref.h
@@ -16,7 +16,7 @@
*
* Note that `TArrayRef` can be auto-constructed from any contiguous container
* (with `size` and `data` members), and thus you don't have to change client code
- * when switching over from passing `TVector` to `TArrayRef`.
+ * when switching over from passing `TVector` to `TArrayRef`.
*
* Note that `TArrayRef` has the same const-semantics as raw pointers:
* - `TArrayRef<T>` is a non-const reference to non-const data (like `T*`);
@@ -157,7 +157,7 @@ public:
/**
* Obtains a ref that is a view over the first `count` elements of this TArrayRef.
*
- * The behavior is undefined if count > size().
+ * The behavior is undefined if count > size().
*/
TArrayRef first(size_t count) const {
Y_ASSERT(count <= size());