mirror of
https://github.com/denoland/deno.git
synced 2025-08-04 02:48:24 +00:00
chore: update to Rust 1.66.0 (#17078)
This commit is contained in:
parent
f2c9cc500c
commit
f46df3e359
37 changed files with 84 additions and 84 deletions
|
@ -150,7 +150,7 @@ pub fn get_root_cert_store(
|
|||
} else {
|
||||
PathBuf::from(ca_file)
|
||||
};
|
||||
let certfile = std::fs::File::open(&ca_file)?;
|
||||
let certfile = std::fs::File::open(ca_file)?;
|
||||
let mut reader = BufReader::new(certfile);
|
||||
|
||||
match rustls_pemfile::certs(&mut reader) {
|
||||
|
@ -720,7 +720,7 @@ mod test {
|
|||
let import_map_path =
|
||||
std::env::current_dir().unwrap().join("import-map.json");
|
||||
let expected_specifier =
|
||||
ModuleSpecifier::from_file_path(&import_map_path).unwrap();
|
||||
ModuleSpecifier::from_file_path(import_map_path).unwrap();
|
||||
assert!(actual.is_ok());
|
||||
let actual = actual.unwrap();
|
||||
assert_eq!(actual, Some(expected_specifier));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue