mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-09-30 22:42:11 +00:00
Run rustfmt on example
This commit is contained in:
parent
9df8813d4b
commit
c60859b416
@ -8,18 +8,16 @@ use structopt::StructOpt;
|
||||
#[derive(StructOpt, Debug)]
|
||||
struct Options {
|
||||
#[structopt(subcommand)]
|
||||
cmd: Option<Command>
|
||||
cmd: Option<Command>,
|
||||
}
|
||||
|
||||
#[derive(StructOpt, Debug)]
|
||||
enum Command {
|
||||
#[structopt(name = "add")]
|
||||
Add {
|
||||
text: String,
|
||||
},
|
||||
Add { text: String },
|
||||
|
||||
#[structopt(name = "done")]
|
||||
MarkAsDone { id: i64 }
|
||||
MarkAsDone { id: i64 },
|
||||
}
|
||||
|
||||
#[runtime::main(runtime_tokio::Tokio)]
|
||||
|
Loading…
x
Reference in New Issue
Block a user