Skip to content

Commit cafb868

Browse files
committed
rustfmt
1 parent 8e6fc2f commit cafb868

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

primitives/examples/campaign_list_query.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,8 @@ fn main() {
8787
// Query with `leader`
8888
// You can either have `leader` or `validator` but not both!
8989
{
90-
let with_leader_query = "activeTo=1624192200&leader=0x80690751969B234697e9059e04ed72195c3507fa";
90+
let with_leader_query =
91+
"activeTo=1624192200&leader=0x80690751969B234697e9059e04ed72195c3507fa";
9192

9293
let with_leader = CampaignListQuery {
9394
page: 0,

sentry/src/routes.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,9 +204,9 @@
204204
//! ```
205205
#![doc = include_str!("../../primitives/examples/campaign_list_query.rs")]
206206
//! ```
207-
//!
207+
//!
208208
//! Response:
209-
//!
209+
//!
210210
//! ```
211211
#![doc = include_str!("../../primitives/examples/campaign_list_response.rs")]
212212
//! ```

sentry/src/routes/campaign.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,6 @@ where
290290
Ok(success_response(serde_json::to_string(&campaign)?))
291291
}
292292

293-
294293
/// GET `/v5/campaign/list`
295294
pub async fn campaign_list<C: Locked + 'static>(
296295
req: Request<Body>,

0 commit comments

Comments
 (0)