Skip to content

Commit 31cca2d

Browse files
committed
Fix rusqlite Name build error
1 parent 21ddab2 commit 31cca2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ impl Client {
172172
fn create_conn(mut builder: ClientBuilder) -> Result<Connection, Error> {
173173
let path = builder.path.take().unwrap_or_else(|| ":memory:".into());
174174
let conn = if let Some(vfs) = builder.vfs.take() {
175-
Connection::open_with_flags_and_vfs(path, builder.flags, &vfs)?
175+
Connection::open_with_flags_and_vfs(path, builder.flags, vfs.as_str())?
176176
} else {
177177
Connection::open_with_flags(path, builder.flags)?
178178
};

0 commit comments

Comments
 (0)