summaryrefslogtreecommitdiffstats
path: root/library/cpp
diff options
context:
space:
mode:
authorYDBot <[email protected]>2026-05-30 01:23:22 +0000
committerYDBot <[email protected]>2026-05-30 01:23:22 +0000
commitdc0819dcad0731a4598752bb04f56b2f732310d1 (patch)
tree213e8a6223c8a299723e94950b811baa53a91768 /library/cpp
parent528a7133e252d9c83a81625b0a932609fbdf898e (diff)
parentb48361d637052832b1965a69ebf30131bb8befd1 (diff)
Sync branches 260530-0121
Diffstat (limited to 'library/cpp')
-rw-r--r--library/cpp/yt/memory/intrusive_ptr.h2
-rw-r--r--library/cpp/yt/memory/ref.h2
-rw-r--r--library/cpp/yt/threading/atomic_object.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/library/cpp/yt/memory/intrusive_ptr.h b/library/cpp/yt/memory/intrusive_ptr.h
index 96550ef8a84..613b2f58c49 100644
--- a/library/cpp/yt/memory/intrusive_ptr.h
+++ b/library/cpp/yt/memory/intrusive_ptr.h
@@ -32,7 +32,7 @@ public:
* Note that this constructor could be racy due to unsynchronized operations
* on the object and on the counter.
*
- * Note that it notoriously hard to make this constructor explicit
+ * Note that it is notoriously hard to make this constructor explicit
* given the current amount of code written.
*/
constexpr TIntrusivePtr(T* obj, bool addReference = true) noexcept
diff --git a/library/cpp/yt/memory/ref.h b/library/cpp/yt/memory/ref.h
index ded8f40eb55..028afffd354 100644
--- a/library/cpp/yt/memory/ref.h
+++ b/library/cpp/yt/memory/ref.h
@@ -370,7 +370,7 @@ public:
* The user must provide the total (resulting) part count in #size.
*
* Additionally, the user may request a certain memory pool of size #poolCapacity
- * to be created. Parts occupiying space in the above pool are created with #AllocateAndAdd
+ * to be created. Parts occupying space in the above pool are created with #AllocateAndAdd
* calls.
*
* The pool (if any) and the array are created within a single memory allocation tagged with
diff --git a/library/cpp/yt/threading/atomic_object.h b/library/cpp/yt/threading/atomic_object.h
index 452f0f29195..bdf84ae6abf 100644
--- a/library/cpp/yt/threading/atomic_object.h
+++ b/library/cpp/yt/threading/atomic_object.h
@@ -35,7 +35,7 @@ public:
template <std::invocable<T&> F>
std::invoke_result_t<F, T&> Transform(F&& func);
- //! Atomicaly reads the value with function #func.
+ //! Atomically reads the value with function #func.
template <std::invocable<const T&> F>
std::invoke_result_t<F, const T&> Read(F&& func) const;