mirror of
https://github.com/sharkdp/fd.git
synced 2024-09-28 13:01:30 +02:00
Run updated version of rustfmt
This commit is contained in:
parent
3386b854b0
commit
88fb9d73d1
15
src/app.rs
15
src/app.rs
@ -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 "),
|
||||||
|
},
|
||||||
|
);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user