Skip to content

Commit c64bbfe

Browse files
cursoragentlovasoa
andcommitted
Refactor: Remove unused blank lines and reorder imports
Co-authored-by: contact <[email protected]>
1 parent f8fe6ca commit c64bbfe

File tree

7 files changed

+2
-7
lines changed

7 files changed

+2
-7
lines changed

sqlx-core/src/mysql/options/ssl_mode.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ pub enum MySqlSslMode {
3131
VerifyIdentity,
3232
}
3333

34-
3534
impl FromStr for MySqlSslMode {
3635
type Err = Error;
3736

sqlx-core/src/sqlite/connection/explain.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -666,7 +666,7 @@ pub(super) fn explain(
666666
state.r.insert(
667667
p2,
668668
RegDataType::Single(ColumnType {
669-
datatype: opcode_to_type(opcode),
669+
datatype: opcode_to_type(opcode),
670670
nullable: Some(false),
671671
}),
672672
);

sqlx-core/src/sqlite/options/auto_vacuum.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ impl SqliteAutoVacuum {
1919
}
2020
}
2121

22-
2322
impl FromStr for SqliteAutoVacuum {
2423
type Err = Error;
2524

sqlx-core/src/sqlite/options/journal_mode.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ impl SqliteJournalMode {
2828
}
2929
}
3030

31-
3231
impl FromStr for SqliteJournalMode {
3332
type Err = Error;
3433

sqlx-core/src/sqlite/options/locking_mode.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ impl SqliteLockingMode {
2020
}
2121
}
2222

23-
2423
impl FromStr for SqliteLockingMode {
2524
type Err = Error;
2625

sqlx-core/src/sqlite/options/synchronous.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ impl SqliteSynchronous {
2424
}
2525
}
2626

27-
2827
impl FromStr for SqliteSynchronous {
2928
type Err = Error;
3029

sqlx-core/src/sqlite/statement/virtual.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ use libsqlite3_sys::{
1111
sqlite3, sqlite3_prepare_v3, sqlite3_stmt, SQLITE_OK, SQLITE_PREPARE_PERSISTENT,
1212
};
1313
use smallvec::SmallVec;
14+
use std::cmp;
1415
use std::os::raw::c_char;
1516
use std::ptr::{null, null_mut, NonNull};
1617
use std::sync::Arc;
17-
use std::cmp;
1818

1919
// A virtual statement consists of *zero* or more raw SQLite3 statements. We chop up a SQL statement
2020
// on `;` to support multiple statements in one query.

0 commit comments

Comments
 (0)