Skip to content

Commit 555b144

Browse files
committed
Fixed typos
1 parent 5419517 commit 555b144

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/librustc_codegen_llvm/back/link.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -749,7 +749,7 @@ fn link_natively(sess: &Session,
749749
// with some thread pool working in the background. It seems that no one
750750
// currently knows a fix for this so in the meantime we're left with this...
751751
info!("{:?}", &cmd);
752-
let retry_on_segfault = env::var("RUSTc_RETRY_LINKER_ON_SEGFAULT").is_ok();
752+
let retry_on_segfault = env::var("RUSTC_RETRY_LINKER_ON_SEGFAULT").is_ok();
753753
let mut prog;
754754
let mut i = 0;
755755
loop {

src/librustc_codegen_llvm/interfaces/type_.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ pub trait TypeMethods : Backend {
1919
fn type_i32(&self) -> Self::Type;
2020
fn type_i64(&self) -> Self::Type;
2121
fn type_i128(&self) -> Self::Type;
22-
fn type_ix(&self, num_bites: u64) -> Self::Type;
22+
fn type_ix(&self, num_bits: u64) -> Self::Type;
2323
fn type_f32(&self) -> Self::Type;
2424
fn type_f64(&self) -> Self::Type;
2525
fn type_x86_mmx(&self) -> Self::Type;

0 commit comments

Comments
 (0)