[−][src]Function rustdoc::html::sources::print_src

pub(in html::sources) fn print_src(
    buf: &mut Buffer,
    s: String
)

Wrapper struct to render the source code of a file. This will do things like adding line numbers to the left-hand side.