summaryrefslogtreecommitdiffstats
path: root/library/cpp/yt
diff options
context:
space:
mode:
authorgearonixx <[email protected]>2026-05-29 14:55:36 +0300
committerrobot-piglet <[email protected]>2026-05-29 15:48:40 +0300
commit60d30e2677a02db4bc62a30af634e06b26f20565 (patch)
tree7c4c1f7e1d071127375d39d30ebc142ee933be39 /library/cpp/yt
parentbbdcfedd5cd75ca254667971466c846793db10f3 (diff)
Cosmetics: fix typos in docstrings and comments
Fix typos in docstrings --- Pull Request resolved: https://github.com/ytsaurus/ytsaurus/pull/1733 Co-authored-by: ilyaibraev <[email protected]> commit_hash:33a12aeaeeaec2f93ef9f465a3d5cdff95b62757
Diffstat (limited to 'library/cpp/yt')
-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;