Skip to content

Commit 5584928

Browse files
committed
fix: lint things
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
1 parent 8f87e19 commit 5584928

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

core/src/services/sqlite/backend.rs

+6-5
Original file line numberDiff line numberDiff line change
@@ -137,11 +137,12 @@ impl Builder for SqliteBuilder {
137137
}
138138
};
139139

140-
let config: SqliteConnectOptions = SqliteConnectOptions::from_str(&conn).map_err(|err| {
141-
Error::new(ErrorKind::ConfigInvalid, "connection_string is invalid")
142-
.with_context("service", Scheme::Sqlite)
143-
.set_source(err)
144-
})?;
140+
let config: SqliteConnectOptions =
141+
SqliteConnectOptions::from_str(&conn).map_err(|err| {
142+
Error::new(ErrorKind::ConfigInvalid, "connection_string is invalid")
143+
.with_context("service", Scheme::Sqlite)
144+
.set_source(err)
145+
})?;
145146

146147
let table = match self.config.table {
147148
Some(v) => v,

0 commit comments

Comments
 (0)