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

kou 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 8f47394771 MINOR: [Docs][C++] replace_with_mask links to replace 
functions (#45223)
8f47394771 is described below

commit 8f47394771df77187717067d28f4ca8c13e981f0
Author: Dan King <[email protected]>
AuthorDate: Mon Jan 13 22:03:41 2025 -0500

    MINOR: [Docs][C++] replace_with_mask links to replace functions (#45223)
    
    
    
    ### Rationale for this change
    
    `replace_with_mask` should link to the section containing it.
    
    ### What changes are included in this PR?
    
    `replace_with_mask` links to the section containing it.
    
    ### Are these changes tested?
    
    No.
    
    ### Are there any user-facing changes?
    
    Yes, but only in the docs. No code is changed.
    
    Authored-by: Dan King <[email protected]>
    Signed-off-by: Sutou Kouhei <[email protected]>
---
 docs/source/cpp/compute.rst | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/docs/source/cpp/compute.rst b/docs/source/cpp/compute.rst
index ec53fb0468..44526c19a6 100644
--- a/docs/source/cpp/compute.rst
+++ b/docs/source/cpp/compute.rst
@@ -1316,7 +1316,7 @@ depending on a condition.
   input. If the nulls present on the first input, they will be promoted to the
   output, otherwise nulls will be chosen based on the first input values.
 
-  Also see: :ref:`replace_with_mask 
<cpp-compute-vector-structural-transforms>`.
+  Also see: :ref:`replace_with_mask <cpp-compute-vector-replace-functions>`.
 
 Structural transforms
 ~~~~~~~~~~~~~~~~~~~~~
@@ -1882,6 +1882,8 @@ Structural transforms
     index *n* and the type code at index *n* is 2.
   * The indices ``2`` and ``7`` are invalid.
 
+.. _cpp-compute-vector-replace-functions:
+
 Replace functions
 ~~~~~~~~~~~~~~~~~
 

Reply via email to