diff --git a/src/httplib.rs b/src/httplib.rs index ce35d45..4c9633c 100644 --- a/src/httplib.rs +++ b/src/httplib.rs @@ -35,13 +35,13 @@ pub async fn return_http_data(options: &LibOptions, from_cli: bool) -> HashMap Result<(), Box> { } else { io::stdin().read_to_string(&mut buffer).await?; hosts = buffer.lines().map(str::to_owned).collect(); - }; + } let lib_options = LibOptions { hosts,