Skip to content

Commit d693e07

Browse files
committed
fmt
1 parent d999999 commit d693e07

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

compiler/rustc_metadata/src/creader.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
//! Validates all used crates and extern libraries and loads their metadata
22
33
use std::error::Error;
4+
use std::ffi::OsString;
45
use std::ops::Fn;
56
use std::path::Path;
6-
use std::ffi::OsString;
77
use std::str::FromStr;
88
use std::time::Duration;
99
use std::{cmp, env, iter};

src/bootstrap/src/utils/helpers.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ pub fn is_dylib(path: &Path) -> bool {
6262

6363
fn 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,

0 commit comments

Comments
 (0)