diff options
Diffstat (limited to 'library/cpp')
| -rw-r--r-- | library/cpp/yt/memory/intrusive_ptr.h | 2 | ||||
| -rw-r--r-- | library/cpp/yt/memory/ref.h | 2 | ||||
| -rw-r--r-- | library/cpp/yt/threading/atomic_object.h | 2 |
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; |
