We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21ddab2 commit 31cca2dCopy full SHA for 31cca2d
src/client.rs
@@ -172,7 +172,7 @@ impl Client {
172
fn create_conn(mut builder: ClientBuilder) -> Result<Connection, Error> {
173
let path = builder.path.take().unwrap_or_else(|| ":memory:".into());
174
let conn = if let Some(vfs) = builder.vfs.take() {
175
- Connection::open_with_flags_and_vfs(path, builder.flags, &vfs)?
+ Connection::open_with_flags_and_vfs(path, builder.flags, vfs.as_str())?
176
} else {
177
Connection::open_with_flags(path, builder.flags)?
178
};
0 commit comments