File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
compiler/rustc_metadata/src Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 11//! Validates all used crates and extern libraries and loads their metadata
22
33use std:: error:: Error ;
4+ use std:: ffi:: OsString ;
45use std:: ops:: Fn ;
56use std:: path:: Path ;
6- use std:: ffi:: OsString ;
77use std:: str:: FromStr ;
88use std:: time:: Duration ;
99use std:: { cmp, env, iter} ;
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ pub fn is_dylib(path: &Path) -> bool {
6262
6363fn is_aix_shared_archive ( path : & Path ) -> bool {
6464 // FIXME(#133268): reading the entire file as &[u8] into memory seems excessive
65- // look into either mmap it or use the ReadCache
65+ // look into either mmap it or use the ReadCache
6666 let data = match fs:: read ( path) {
6767 Ok ( data) => data,
6868 Err ( _) => return false ,
You can’t perform that action at this time.
0 commit comments