Skip to content

Commit 10b7099

Browse files
committed
clippy & rustfmt
1 parent 8b98390 commit 10b7099

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

primitives/src/ad_slot.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use crate::{BigNum, TargetingTag, ValidatorId, targeting::Rule};
1+
use crate::{targeting::Rule, BigNum, TargetingTag, ValidatorId};
22
use chrono::{DateTime, Utc};
33
use serde::{Deserialize, Serialize};
44
use std::collections::HashMap;

primitives/src/supermarket.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,11 @@ pub enum Finalized {
4242

4343
pub mod units_for_slot {
4444
pub mod response {
45+
use crate::{targeting::Rule, BigNum, ChannelId, ChannelSpec, SpecValidators, ValidatorId};
4546
use chrono::{
4647
serde::{ts_milliseconds, ts_milliseconds_option},
4748
DateTime, Utc,
4849
};
49-
use crate::{targeting::Rule, BigNum, ChannelId, SpecValidators, ValidatorId, ChannelSpec};
5050
use serde::Serialize;
5151

5252
#[derive(Debug, Serialize)]

sentry/src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,6 @@ pub struct Application<A: Adapter> {
9999
pub pool: DbPool,
100100
pub config: Config,
101101
pub event_aggregator: EventAggregator,
102-
__secret: (),
103102
}
104103

105104
impl<A: Adapter + 'static> Application<A> {
@@ -117,7 +116,6 @@ impl<A: Adapter + 'static> Application<A> {
117116
redis,
118117
pool,
119118
event_aggregator: Default::default(),
120-
__secret: (),
121119
}
122120
}
123121

0 commit comments

Comments
 (0)