logo
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
use super::*;

impl<'a, T: 'a> Format for core::slice::ChunksExact<'a, T>
where
    T: Format,
{
    fn format(&self, fmt: Formatter) {
        crate::write!(fmt, "ChunksExact(..)")
    }
}

impl<'a, T: 'a> Format for core::slice::Iter<'a, T>
where
    T: Format,
{
    fn format(&self, fmt: Formatter) {
        crate::write!(
            fmt,
            "Iter {{ slice: {=[?]}, position: ? }}",
            self.as_slice()
        )
    }
}

impl<'a, T: 'a> Format for core::slice::Windows<'a, T>
where
    T: Format,
{
    fn format(&self, fmt: Formatter) {
        crate::write!(fmt, "Windows(..)")
    }
}