Skip to content

Commit 450abf0

Browse files
fix doc link maybe
1 parent c949b26 commit 450abf0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pgrx/src/array.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -116,14 +116,16 @@ where
116116
}
117117

118118
/**
119-
Oxidized form of [ARR_NULLBITMAP(ArrayType*)][ARR_NULLBITMAP]
119+
Oxidized form of [ARR_NULLBITMAP(ArrayType*)][arr_nullbitmap]
120+
120121
If this returns None, the array *cannot* have nulls.
121122
Note that unlike the `is_null: bool` that appears elsewhere, 1 is "valid" and 0 is "null".
122123
123124
# Safety
124125
Trailing bits must be set to 0, and all elements marked with 1 must be initialized.
125126
The null bitmap is linear but the layout of elements may be nonlinear, so for some arrays
126127
these cannot be calculated directly from each other.
128+
127129
[ARR_NULLBITMAP]: <https://git.postgresql.org/gitweb/?p=postgresql.git;a=blob;f=src/include/utils/array.h;h=4ae6c3be2f8b57afa38c19af2779f67c782e4efc;hb=278273ccbad27a8834dfdf11895da9cd91de4114#l293>
128130
*/
129131
pub unsafe fn nulls_mut(&mut self) -> Option<&mut [u8]> {

0 commit comments

Comments
 (0)