Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Commit

Permalink
Reword the safety comments
Browse files Browse the repository at this point in the history
  • Loading branch information
VasanthakumarV committed Oct 2, 2021
1 parent 570a5ab commit 5fcd673
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/array/binary/mutable.rs
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ impl<O: Offset> MutableBinaryArray<O> {
P: AsRef<[u8]>,
I: TrustedLen<Item = P>,
{
// Safety: The iterator must be `TrustedLen`
// Safety: The iterator is `TrustedLen`
unsafe { self.extend_trusted_len_values_unchecked(iterator) }
}

Expand Down Expand Up @@ -301,7 +301,7 @@ impl<O: Offset> MutableBinaryArray<O> {
P: AsRef<[u8]>,
I: TrustedLen<Item = Option<P>>,
{
// Safety: The iterator must be `TrustedLen`
// Safety: The iterator is `TrustedLen`
unsafe { self.extend_trusted_len_unchecked(iterator) }
}

Expand Down

0 comments on commit 5fcd673

Please sign in to comment.