Remove commented-out into_iter (available in the IntoIterator implemenatation)

This commit is contained in:
Sosthène Guédon
2024-06-19 14:31:28 +02:00
committed by sosthene-nitrokey
parent 3b3060371c
commit 5eff70dbef
-5
View File
@@ -84,11 +84,6 @@ impl<const N: usize> Bytes<N> {
Bytes::<M>::from_slice(self)
}
// #[doc(hidden)]
// pub fn into_iter(self) -> <Vec<u8, N> as IntoIterator>::IntoIter {
// self.bytes.into_iter()
// }
// pub fn try_from_slice(slice: &[u8]) -> core::result::Result<Self, ()> {
// let mut bytes = Vec::<u8, N>::new();
// bytes.extend_from_slice(slice)?;