This is an automated email from the ASF dual-hosted git repository.

amoeba pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/main by this push:
     new 43e2bbe541 GH-50087: [Docs][C++] Fix sentence structure in memory.rst 
regarding `MemoryManager` (#50324)
43e2bbe541 is described below

commit 43e2bbe541b31f27722ef15f38922f0ad7810474
Author: Om Biradar <[email protected]>
AuthorDate: Sat Jul 4 02:21:08 2026 +0530

    GH-50087: [Docs][C++] Fix sentence structure in memory.rst regarding 
`MemoryManager` (#50324)
    
    In file `docs/source/cpp/memory.rst`:
    * Removes a duplicate line
    * Minor grammar fix
    
    ### Rationale for this change
    
    I believe the statement
    
    >  The associated class :class:`arrow::MemoryManager` specifies how to 
allocate on a given device.
    
    was repeated twice and there was some grammatical mistake in the same 
paragraph
    * GitHub Issue: #50087
    
    Authored-by: OmBiradar <[email protected]>
    Signed-off-by: Bryce Mecum <[email protected]>
---
 docs/source/cpp/memory.rst | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/docs/source/cpp/memory.rst b/docs/source/cpp/memory.rst
index 032b7d1ac9..4df32749e4 100644
--- a/docs/source/cpp/memory.rst
+++ b/docs/source/cpp/memory.rst
@@ -171,9 +171,6 @@ Arrow represents the CPU and other devices using the
 :class:`arrow::Device` abstraction.  The associated class 
:class:`arrow::MemoryManager`
 specifies how to allocate on a given device.  Each device has a default memory 
manager, but
 additional instances may be constructed (for example, wrapping a custom
-:class:`arrow::MemoryPool` the CPU).
-:class:`arrow::MemoryManager` instances which specify how to allocate
-memory on a given device (for example, using a particular
 :class:`arrow::MemoryPool` on the CPU).
 
 Device-Agnostic Programming

Reply via email to