Run updated version of rustfmt

This commit is contained in:
sharkdp 2018-03-12 17:46:13 +01:00
parent 3386b854b0
commit 88fb9d73d1
1 changed files with 9 additions and 6 deletions

View File

@ -16,14 +16,17 @@ struct Help {
} }
macro_rules! doc { macro_rules! doc {
($map:expr, $name:expr, $short:expr) => { ($map: expr, $name: expr, $short: expr) => {
doc!($map, $name, $short, $short) doc!($map, $name, $short, $short)
}; };
($map:expr, $name:expr, $short:expr, $long:expr) => { ($map: expr, $name: expr, $short: expr, $long: expr) => {
$map.insert($name, Help { $map.insert(
short: $short, $name,
long: concat!($long, "\n ") Help {
}); short: $short,
long: concat!($long, "\n "),
},
);
}; };
} }