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 8b43f0e commit afb3bcfCopy full SHA for afb3bcf
tests/test.rs
@@ -89,7 +89,8 @@ fn test_unix_connection() {
89
90
let unix_socket_directory = unix_socket_directories.split(',').next().unwrap();
91
92
- let path = url::utf8_percent_encode(unix_socket_directory, url::USERNAME_ENCODE_SET);
+ let path = url::percent_encoding::utf8_percent_encode(
93
+ unix_socket_directory, url::percent_encoding::USERNAME_ENCODE_SET);
94
let url = format!("postgres://postgres@{}", path);
95
let conn = or_panic!(Connection::connect(&url[..], &SslMode::None));
96
assert!(conn.finish().is_ok());
0 commit comments