Skip to content

Commit

Permalink
clippy dings, redux
Browse files Browse the repository at this point in the history
Signed-off-by: Brian L. Troutwine <[email protected]>
  • Loading branch information
blt committed Jul 23, 2021
1 parent 5043081 commit 47dbc83
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 8 deletions.
4 changes: 1 addition & 3 deletions lading_blackholes/src/bin/http_blackhole.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#![allow(clippy::nonstandard_macro_braces)]

use argh::FromArgs;
use hyper::server::conn::{AddrIncoming, AddrStream};
use hyper::service::{make_service_fn, service_fn};
Expand Down Expand Up @@ -55,8 +53,8 @@ async fn srv(req: Request<Body>) -> Result<Response<Body>, hyper::Error> {
impl HttpServer {
fn new(httpd_addr: SocketAddr, prometheus_addr: SocketAddr) -> Self {
Self {
httpd_addr,
prometheus_addr,
httpd_addr,
}
}

Expand Down
1 change: 0 additions & 1 deletion lading_blackholes/src/bin/udp_blackhole.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![allow(clippy::nonstandard_macro_braces)]
use argh::FromArgs;
use metrics::counter;
use std::io;
Expand Down
2 changes: 0 additions & 2 deletions lading_generators/src/bin/file_gen.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#![allow(clippy::nonstandard_macro_braces)]

use argh::FromArgs;
use futures::stream::{FuturesUnordered, StreamExt};
use lading_generators::file_gen::config::{Config, LogTargetTemplate};
Expand Down
2 changes: 0 additions & 2 deletions lading_generators/src/bin/http_gen.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#![allow(clippy::nonstandard_macro_braces)]

use argh::FromArgs;
use futures::stream::{FuturesUnordered, StreamExt};
use lading_generators::http_gen::config::{Config, Target};
Expand Down

0 comments on commit 47dbc83

Please sign in to comment.