added missing bracket in args.rs

This commit is contained in:
Daniel Szabo 2022-10-25 12:51:59 +03:00
parent dc2c7094a8
commit e258bcc2bd
No known key found for this signature in database
GPG key ID: D4D95121C054CFBC

View file

@ -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))
} }
}