From 9b4916884c3f9ef37a072a606d30263ca542fef9 Mon Sep 17 00:00:00 2001 From: SlightlyOutOfPhase Date: Wed, 11 Mar 2020 01:17:15 -0400 Subject: [PATCH] Remove nonsensical bit from comments --- src/lib.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index d156cb9..bce021d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -765,7 +765,6 @@ impl StaticVec { let start_ptr = self.as_ptr(); unsafe { // `start_ptr` will never be null, so this is a safe assumption to give the optimizer. - // Note that this is something also done in the `iter()` method for slices, additionally. intrinsics::assume(!is_null_const(start_ptr)); StaticVecIterConst { start: start_ptr, @@ -785,7 +784,6 @@ impl StaticVec { let start_ptr = self.as_mut_ptr(); unsafe { // `start_ptr` will never be null, so this is a safe assumption to give the optimizer. - // Note that this is something also done in the `iter_mut()` method for slices, additionally. intrinsics::assume(!is_null_mut(start_ptr)); StaticVecIterMut { start: start_ptr,