diff options
author | Alexey Bykov <[email protected]> | 2022-02-10 16:47:16 +0300 |
---|---|---|
committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:47:16 +0300 |
commit | b50730a77e0c38f2fec0ad5d53fb2034d6470221 (patch) | |
tree | 9814fbd1c3effac9b8377c5d604b367b14e2db55 /util/generic/array_ref.h | |
parent | 4cadece7a57ab767e762a0bea1995a596aefeb11 (diff) |
Restoring authorship annotation for Alexey Bykov <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'util/generic/array_ref.h')
-rw-r--r-- | util/generic/array_ref.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/generic/array_ref.h b/util/generic/array_ref.h index e4a4975ba93..1ac60ac7d3c 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()); |