Skip to content

Commit

Permalink
fix clippy issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ecioppettini committed Nov 25, 2020
1 parent 6dbfa74 commit 5c92bf8
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion jormungandr/src/notifier/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ use crate::utils::task::TokioServiceInfo;
use chain_impl_mockchain::header::HeaderId;
use futures::{select, SinkExt, StreamExt};
use jormungandr_lib::interfaces::notifier::JsonMessage;
use slog::Logger;
use std::marker::PhantomData;
use std::sync::atomic::{AtomicUsize, Ordering};
use std::sync::Arc;
Expand Down
2 changes: 1 addition & 1 deletion jormungandr/src/rest/v1/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ pub fn filter(

let logs = warp::path!("logs")
.and(warp::get())
.and(with_context)
.and(with_context.clone())
.and_then(handlers::get_fragments_logs)
.boxed();

Expand Down

0 comments on commit 5c92bf8

Please sign in to comment.