Skip to content

Commit 7f43674

Browse files
joseph-isaacsclaude
authored andcommitted
Fix broken rustdoc intra-doc link in match_each_integer_ptype docs
The TODO note linked `match_each_unsigned_integer_ptype` without a resolvable path, failing `RUSTDOCFLAGS=-D warnings cargo doc`. Qualify it with the crate path. Signed-off-by: Joe Isaacs <joe.isaacs@live.co.uk>
1 parent 1d143bc commit 7f43674

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

vortex-array/src/dtype/ptype.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,8 @@ macro_rules! match_each_native_ptype {
498498
///
499499
/// This expands to 8 arms (all signed and unsigned integer widths). When the matched values are
500500
/// known to be non-negative (offsets, indices, lengths, run-lengths, counts), prefer
501-
/// [`match_each_unsigned_integer_ptype`] over a `PrimitiveArray::reinterpret_cast(ptype.to_unsigned())`
501+
/// [`match_each_unsigned_integer_ptype`](crate::match_each_unsigned_integer_ptype) over a
502+
/// `PrimitiveArray::reinterpret_cast(ptype.to_unsigned())`
502503
/// of the buffer: this halves each dimension (8 -> 4), and nested matches multiplicatively
503504
/// (8x8 -> 4x4), dramatically cutting monomorphized code size. The trick is only sound when the
504505
/// bound type is used to *read* values; if it also types an output buffer, build the output in the

0 commit comments

Comments
 (0)