Skip to content

Commit

Permalink
clippy in ephemera (not all)
Browse files Browse the repository at this point in the history
  • Loading branch information
octol committed Oct 15, 2023
1 parent a12c733 commit ea60685
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ephemera/src/core/api_cmd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ impl ApiCmdProcessor {
}

fn ephemera_config<A: Application>(
ephemera: &mut Ephemera<A>,
ephemera: &Ephemera<A>,
reply: Sender<api::Result<ApiEphemeraConfig>>,
) {
let node_info = ephemera.node_info.clone();
Expand Down
6 changes: 3 additions & 3 deletions ephemera/src/core/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -191,10 +191,10 @@ impl<A: Application> EphemeraStarterWithApplication<A> {

let block_manager = self.init_block_manager(&mut storage)?;

let (mut shutdown_manager, shutdown_handle) = ShutdownManager::init();
let (shutdown_manager, shutdown_handle) = ShutdownManager::init();

let mut service_data = ServiceInfo::default();
let services = self.init_services(&mut service_data, &mut shutdown_manager, provider)?;
let services = self.init_services(&mut service_data, &shutdown_manager, provider)?;

Ok(EphemeraStarterWithProvider {
with_application: self,
Expand Down Expand Up @@ -237,7 +237,7 @@ impl<A: Application> EphemeraStarterWithApplication<A> {
>(
&mut self,
service_data: &mut ServiceInfo,
shutdown_manager: &mut ShutdownManager,
shutdown_manager: &ShutdownManager,
provider: P,
) -> anyhow::Result<Vec<BoxFuture<'static, anyhow::Result<()>>>> {
let services = vec![
Expand Down

0 comments on commit ea60685

Please sign in to comment.