Skip to content

Commit 01f8fa6

Browse files
Dandandanclaude
andcommitted
Fix rustdoc broken intra-doc links by escaping brackets
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 0b8616e commit 01f8fa6

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

  • datafusion/physical-expr-common/src

datafusion/physical-expr-common/src/datum.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ where
365365
}
366366

367367
/// Try to apply arithmetic in-place on `right` array with a scalar `left`.
368-
/// The operation is `result[i] = op(scalar_left, right[i])`, stored in `right`'s buffer.
368+
/// The operation is `result\[i\] = op(scalar_left, right\[i\])`, stored in `right`'s buffer.
369369
/// Returns `Ok(result)` on success, or `Err(right)` if in-place not possible.
370370
fn try_apply_inplace_scalar_rhs(
371371
right: ArrayRef,
@@ -379,7 +379,7 @@ fn try_apply_inplace_scalar_rhs(
379379
}
380380

381381
/// Try to apply arithmetic in-place on `right` array using values from `left` array.
382-
/// The operation is `result[i] = op(left[i], right[i])`, stored in `right`'s buffer.
382+
/// The operation is `result\[i\] = op(left\[i\], right\[i\])`, stored in `right`'s buffer.
383383
/// Returns `Ok(result)` on success, or `Err(right)` if in-place not possible.
384384
fn try_apply_inplace_array_rhs(
385385
left: &ArrayRef,
@@ -392,7 +392,7 @@ fn try_apply_inplace_array_rhs(
392392
dispatch_inplace_binary!(right, left, op, try_inplace_binary_rhs)
393393
}
394394

395-
/// Attempt in-place mutation on the right PrimitiveArray: result[i] = op(scalar, right[i]).
395+
/// Attempt in-place mutation on the right PrimitiveArray: result\[i\] = op(scalar, right\[i\]).
396396
fn try_inplace_unary_rhs<T: ArrowPrimitiveType>(
397397
array: ArrayRef,
398398
scalar: T::Native,
@@ -431,7 +431,7 @@ where
431431
}
432432
}
433433

434-
/// Attempt in-place mutation on the right PrimitiveArray: result[i] = op(left[i], right[i]).
434+
/// Attempt in-place mutation on the right PrimitiveArray: result\[i\] = op(left\[i\], right\[i\]).
435435
/// Note: parameter order is (right_owned, left_ref) to match the dispatch_inplace_binary macro.
436436
fn try_inplace_binary_rhs<T: ArrowPrimitiveType>(
437437
right: ArrayRef,
@@ -473,7 +473,7 @@ where
473473
let right_slice = builder.values_slice_mut();
474474
let left_values = left_primitive.values();
475475

476-
// Note: op(left[i], right[i]) — left is the first operand
476+
// Note: op(left\[i\], right\[i\]) — left is the first operand
477477
right_slice
478478
.iter_mut()
479479
.zip(left_values.iter())

0 commit comments

Comments
 (0)