Skip to content

Commit 98a2299

Browse files
committed
Fix Windows compile issue
1 parent d4026bc commit 98a2299

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

libsql-sys/src/connection.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,7 @@ impl<W: Wal> Connection<W> {
284284
};
285285
#[cfg(not(unix))]
286286
let path = path
287+
.as_ref()
287288
.to_str()
288289
.ok_or_else(|| crate::error::Error::Bug("database path is not valid unicode"))
289290
.and_then(|x| {

0 commit comments

Comments
 (0)