From 5fcd673496530bfdd954e2aec29450f3724f6c93 Mon Sep 17 00:00:00 2001 From: VasanthakumarV Date: Sat, 2 Oct 2021 21:47:16 +0530 Subject: [PATCH] Reword the safety comments --- src/array/binary/mutable.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/array/binary/mutable.rs b/src/array/binary/mutable.rs index 9ddc99d0ab3..9f918e15901 100644 --- a/src/array/binary/mutable.rs +++ b/src/array/binary/mutable.rs @@ -269,7 +269,7 @@ impl MutableBinaryArray { P: AsRef<[u8]>, I: TrustedLen, { - // Safety: The iterator must be `TrustedLen` + // Safety: The iterator is `TrustedLen` unsafe { self.extend_trusted_len_values_unchecked(iterator) } } @@ -301,7 +301,7 @@ impl MutableBinaryArray { P: AsRef<[u8]>, I: TrustedLen>, { - // Safety: The iterator must be `TrustedLen` + // Safety: The iterator is `TrustedLen` unsafe { self.extend_trusted_len_unchecked(iterator) } }