forked from mirrors/jj
templater: label author/committer name in default formatting
Just for consistency with .name() method call.
This commit is contained in:
parent
47e6ceb5fa
commit
df085a4bd5
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ pub trait Template<C> {
|
|||
|
||||
impl Template<()> for Signature {
|
||||
fn format(&self, _: &(), formatter: &mut dyn Formatter) -> io::Result<()> {
|
||||
write!(formatter, "{}", self.name)?;
|
||||
write!(formatter.labeled("name"), "{}", self.name)?;
|
||||
write!(formatter, " <")?;
|
||||
write!(formatter.labeled("email"), "{}", self.email)?;
|
||||
write!(formatter, ">")?;
|
||||
|
|
Loading…
Reference in a new issue