Conversation
`cargo fmt` have trouble formatting `clap::Arg`. This commit simply splits some stuff up so that the implementation details can be formatted. Signed-off-by: Hanif Bin Ariffin <hanif.ariffin.4326@gmail.com>
Do you please explain this a bit more? Anyway, I don't think we should split the files just to make rustfmt happy? @tertsdiepraam wdyt? |
|
I've seen in another PR that // From
.help("this message is a very very very long help message that doesn't fit")
// To
.help(
"this message is a very very very \
long help message that doesn't fit"
)Most arguments in |
|
I do actually think this should be broken up though, but I would wait for #2414 to get merged and work from there. |
|
Okay, I will try to refactor the constants first. Maybe by making |
cargo fmthave trouble formatting largeclap::Arg.This commit simply splits some stuff up so that the implementation details
can be formatted.
Signed-off-by: Hanif Bin Ariffin hanif.ariffin.4326@gmail.com