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 46059c6 commit 86ae353Copy full SHA for 86ae353
questdb-rs/src/tests/mock.rs
@@ -63,9 +63,9 @@ pub fn certs_dir() -> std::path::PathBuf {
63
fn tls_config() -> Arc<ServerConfig> {
64
let certs_dir = certs_dir();
65
let mut cert_file =
66
- File::open(&certs_dir.join("server.crt")).expect("cannot open certificate file");
+ File::open(certs_dir.join("server.crt")).expect("cannot open certificate file");
67
let mut private_key_file =
68
- File::open(&certs_dir.join("server.key")).expect("cannot open private key file");
+ File::open(certs_dir.join("server.key")).expect("cannot open private key file");
69
let certs = rustls_pemfile::certs(&mut BufReader::new(&mut cert_file))
70
.collect::<Result<Vec<_>, _>>()
71
.expect("cannot read certificate file");
0 commit comments