Skip to content

Commit

Permalink
MINOR: [Docs][C++] replace_with_mask links to replace functions (#45223)
Browse files Browse the repository at this point in the history
### 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]>
  • Loading branch information
danking authored Jan 14, 2025
1 parent 7fc8222 commit 8f47394
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/source/cpp/compute.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
~~~~~~~~~~~~~~~~~~~~~
Expand Down Expand Up @@ -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
~~~~~~~~~~~~~~~~~

Expand Down

0 comments on commit 8f47394

Please sign in to comment.