File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ impl FromStr for PgConnectOptions {
1616 if let Some ( host) = url. host_str ( ) {
1717 let host_decoded = percent_decode_str ( host) ;
1818 options = match host_decoded. clone ( ) . next ( ) {
19- Some ( b'/' ) => options. socket ( & host_decoded. decode_utf8 ( ) . map_err ( Error :: config) ?) ,
19+ Some ( b'/' ) => options. socket ( & * host_decoded. decode_utf8 ( ) . map_err ( Error :: config) ?) ,
2020 _ => options. host ( host) ,
2121 }
2222 }
Original file line number Diff line number Diff line change 11//! **SQLite** database driver.
22
3+ #![ allow( unsafe_code) ]
34// SQLite is a C library. All interactions require FFI which is unsafe.
45// All unsafe blocks should have comments pointing to SQLite docs and ensuring that we maintain
56// invariants.
You can’t perform that action at this time.
0 commit comments