added missing bracket in args.rs
This commit is contained in:
parent
dc2c7094a8
commit
e258bcc2bd
1 changed files with 21 additions and 20 deletions
|
@ -1,9 +1,9 @@
|
||||||
|
use clap::Parser;
|
||||||
|
use lazy_static::lazy_static;
|
||||||
use std::convert::Infallible;
|
use std::convert::Infallible;
|
||||||
use std::fmt;
|
use std::fmt;
|
||||||
use std::net::IpAddr;
|
use std::net::IpAddr;
|
||||||
use std::str::FromStr;
|
use std::str::FromStr;
|
||||||
use clap::Parser;
|
|
||||||
use lazy_static::lazy_static;
|
|
||||||
|
|
||||||
lazy_static! {
|
lazy_static! {
|
||||||
pub static ref ARGS: Args = Args::parse();
|
pub static ref ARGS: Args = Args::parse();
|
||||||
|
@ -86,3 +86,4 @@ impl FromStr for PublicUrl {
|
||||||
let uri = s.strip_suffix('/').unwrap_or(s).to_owned();
|
let uri = s.strip_suffix('/').unwrap_or(s).to_owned();
|
||||||
Ok(PublicUrl(uri))
|
Ok(PublicUrl(uri))
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue