From 5eff70dbef3cdfcbb240dac9dbe957ed71b26e94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sosth=C3=A8ne=20Gu=C3=A9don?= Date: Fri, 8 Dec 2023 12:05:26 +0100 Subject: [PATCH] Remove commented-out into_iter (available in the IntoIterator implemenatation) --- src/lib.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 3d06d1e..fc71934 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -84,11 +84,6 @@ impl Bytes { Bytes::::from_slice(self) } - // #[doc(hidden)] - // pub fn into_iter(self) -> as IntoIterator>::IntoIter { - // self.bytes.into_iter() - // } - // pub fn try_from_slice(slice: &[u8]) -> core::result::Result { // let mut bytes = Vec::::new(); // bytes.extend_from_slice(slice)?;