Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Henry Jiang committed Nov 21, 2024
1 parent d999999 commit d693e07
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion compiler/rustc_metadata/src/creader.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
//! Validates all used crates and extern libraries and loads their metadata
use std::error::Error;
use std::ffi::OsString;
use std::ops::Fn;
use std::path::Path;
use std::ffi::OsString;
use std::str::FromStr;
use std::time::Duration;
use std::{cmp, env, iter};
Expand Down
2 changes: 1 addition & 1 deletion src/bootstrap/src/utils/helpers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ pub fn is_dylib(path: &Path) -> bool {

fn is_aix_shared_archive(path: &Path) -> bool {
// FIXME(#133268): reading the entire file as &[u8] into memory seems excessive
// look into either mmap it or use the ReadCache
// look into either mmap it or use the ReadCache
let data = match fs::read(path) {
Ok(data) => data,
Err(_) => return false,
Expand Down

0 comments on commit d693e07

Please sign in to comment.