Skip to content

Commit 4e61908

Browse files
committed
cargo fmt
1 parent 0369114 commit 4e61908

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/models/dependency.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
use diesel::deserialize::{self, FromSql};
22
use diesel::pg::Pg;
3-
use diesel::sql_types::{Text, Integer};
3+
use diesel::sql_types::{Integer, Text};
44

55
use crate::models::{Crate, Version};
66
use crate::schema::*;

src/swirl/runner.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ impl Runner {
161161
let result = conn
162162
.transaction(|conn| {
163163
let pool = pool.to_real_pool();
164-
let state = AssertUnwindSafe(PerformState {conn, pool});
164+
let state = AssertUnwindSafe(PerformState { conn, pool });
165165
catch_unwind(|| {
166166
// Ensure the whole `AssertUnwindSafe(_)` is moved
167167
let state = state;

0 commit comments

Comments
 (0)