Skip to content

Commit

Permalink
fix: doc comment
Browse files Browse the repository at this point in the history
  • Loading branch information
alamb committed Apr 7, 2022
1 parent 9db69cd commit e6c6c07
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions arrow/src/bytes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,9 @@ use crate::alloc::Deallocation;
///
/// In the most common case, this buffer is allocated using [`allocate_aligned`](crate::alloc::allocate_aligned)
/// and deallocated accordingly [`free_aligned`](crate::alloc::free_aligned).
/// When the region is allocated by an foreign allocator, [Deallocation::Foreign], this calls the
/// foreign deallocator to deallocate the region when it is no longer needed.
///
/// When the region is allocated by a different allocator, [Deallocation::Custom], this calls the
/// custom deallocator to deallocate the region when it is no longer needed.
pub struct Bytes {
/// The raw pointer to be beginning of the region
ptr: NonNull<u8>,
Expand Down

0 comments on commit e6c6c07

Please sign in to comment.