Skip to content

Commit

Permalink
Fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
viirya committed Oct 12, 2022
1 parent 6ca0f11 commit e909952
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arrow-buffer/src/buffer/mutable.rs
Expand Up @@ -365,7 +365,7 @@ impl MutableBuffer {

/// Extends the buffer with a new item, without checking for sufficient capacity
/// # Safety
/// Caller must ensure that the capacity()-len()>=size_of<T>()
/// Caller must ensure that the capacity()-len()>=`size_of<T>`()
#[inline]
pub unsafe fn push_unchecked<T: ToByteSlice>(&mut self, item: T) {
let additional = std::mem::size_of::<T>();
Expand Down

0 comments on commit e909952

Please sign in to comment.