Skip to content

Commit 223fccf

Browse files
committed
fixed documention generation
1 parent 7cb8a88 commit 223fccf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pgrx/src/datum/array.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -664,7 +664,7 @@ fn as_mut_slice<'a, T: Sized>(array: &'a mut Array<'_, T>) -> Result<&'a mut [T]
664664
Ok(slice)
665665
}
666666

667-
/// Creates an Array<`a, T> with zero-elements
667+
/// Creates an `Array<'a, T>` with zero-elements
668668
/// Slightly faster than new_array_with_len(0)
669669
pub fn new_empty_array<'a, T: Sized>() -> Result<Array<'a, T>, ArrayAllocError>
670670
where
@@ -679,7 +679,7 @@ where
679679
}
680680
}
681681

682-
/// Creates an Array<T> of a fixed len, with 0 for all elements
682+
/// Creates an `Array<T>` of a fixed len, with 0 for all elements
683683
/// Uses a single PG allocation rather than
684684
#[inline(always)]
685685
pub fn new_array_with_len<'a, T: Sized>(len: usize) -> Result<Array<'a, T>, ArrayAllocError>

0 commit comments

Comments
 (0)