Function git_trailers::display
source · [−]pub fn display<'a, S>(
separator: S,
trailers: &'a [Trailer<'a>]
) -> DisplayMany<'a, S>where
S: Separator<'a>,
Expand description
Render a slice of trailers.
The separator
can be either a string slice, or a closure which may choose
a different separator for each Token
encountered. Note that multiline
trailers are rendered with a fixed indent, so the result is not
layout-preserving.