generated from ElnuDev/rust-project
cargo fmt
This commit is contained in:
parent
18f64358f0
commit
412ca4e538
4 changed files with 11 additions and 11 deletions
|
@ -1,4 +1,7 @@
|
|||
use utils::{error::{Error, Result}, is_human};
|
||||
use utils::{
|
||||
error::{Error, Result},
|
||||
is_human,
|
||||
};
|
||||
|
||||
use actix_web::{get, http::header, App, HttpRequest, HttpResponse, HttpServer, Responder};
|
||||
use clap::Parser;
|
||||
|
@ -9,7 +12,7 @@ pub const TATOEBA_API: &str = "https://tatoeba.org/en/api_v0/search";
|
|||
#[command(author, version, about, long_about = None)]
|
||||
struct Args {
|
||||
/// The port at which to run.
|
||||
#[arg(short, long, default_value_t=3001)]
|
||||
#[arg(short, long, default_value_t = 3001)]
|
||||
port: u16,
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue