mirror of
https://github.com/trussed-dev/heapless-bytes.git
synced 2026-06-20 04:16:33 -07:00
Remove commented-out into_iter (available in the IntoIterator implemenatation)
This commit is contained in:
committed by
sosthene-nitrokey
parent
3b3060371c
commit
5eff70dbef
@@ -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)?;
|
||||
|
||||
Reference in New Issue
Block a user