debug3 0.4.1

Space Efficient Pretty Printer
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use crate::{Debug, Formatter};

// bytes Debug impl writes something nice like b"abc"

impl Debug for bytes::Bytes {
    fn fmt(&self, f: &mut Formatter) {
        f.write_debug(self);
    }
}

impl Debug for bytes::BytesMut {
    fn fmt(&self, f: &mut Formatter) {
        f.write_debug(self);
    }
}