rustfmt
This commit is contained in:
@@ -90,7 +90,6 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
println!("Failed to read environment variable URLS_TXT_BIND_ADDRESS: {e}");
|
||||
Err(e)?
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
let config = spawn_blocking(move || std::fs::read_to_string(urls_filename)).await??;
|
||||
@@ -100,7 +99,12 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
continue;
|
||||
}
|
||||
|
||||
if url_pair.chars().next().expect("String is longer than 1 character") != '/' {
|
||||
if url_pair
|
||||
.chars()
|
||||
.next()
|
||||
.expect("String is longer than 1 character")
|
||||
!= '/'
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user