fn impl_display(&mut self, buf: &mut Buffer) {
        self.write_header(buf, "::std::fmt::Display", None);
        buf.writeln("fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {");
        buf.writeln("self.render_into(f).map_err(|_| ::std::fmt::Error {})");
        buf.writeln("}");
        buf.writeln("}");
    }
// Implement `Display` for the given context struct.
Implement `Display` for the given context struct.
Implement ` Display ` for the given context struct .
fn impl_display(&mut self, buf: &mut Buffer) {
        self.write_header(buf, "::std::fmt::Display", None);
        buf.writeln("fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {");
        buf.writeln("self.render_into(f).map_err(|_| ::std::fmt::Error {})");
        buf.writeln("}");
        buf.writeln("}");
    }
fn impl_display ( & mut self , buf : & mut Buffer ) { self . write_header ( buf , " " , None ) ; buf . writeln ( " " ) ; buf . writeln ( " " ) ; buf . writeln ( " " ) ; buf . writeln ( " " ) ; }
Implement `Display` for the given context struct.
Implement ` Display ` for the given context struct .
&mut self
buf
&mut Buffer
&mut self
buf
&mut Buffer