From 1929ac2007f835a3a46ef1e4b23e9512db007b35 Mon Sep 17 00:00:00 2001 From: Denis Merigoux Date: Thu, 6 Sep 2018 17:27:04 -0700 Subject: [PATCH] Fixed typos --- src/librustc_codegen_llvm/back/link.rs | 2 +- src/librustc_codegen_llvm/interfaces/type_.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/librustc_codegen_llvm/back/link.rs b/src/librustc_codegen_llvm/back/link.rs index a7f0b8854222..111637b6aa96 100644 --- a/src/librustc_codegen_llvm/back/link.rs +++ b/src/librustc_codegen_llvm/back/link.rs @@ -740,7 +740,7 @@ fn link_natively(sess: &Session, // with some thread pool working in the background. It seems that no one // currently knows a fix for this so in the meantime we're left with this... info!("{:?}", &cmd); - let retry_on_segfault = env::var("RUSTc_RETRY_LINKER_ON_SEGFAULT").is_ok(); + let retry_on_segfault = env::var("RUSTC_RETRY_LINKER_ON_SEGFAULT").is_ok(); let mut prog; let mut i = 0; loop { diff --git a/src/librustc_codegen_llvm/interfaces/type_.rs b/src/librustc_codegen_llvm/interfaces/type_.rs index b2867985c8d8..7b2e023fd4d6 100644 --- a/src/librustc_codegen_llvm/interfaces/type_.rs +++ b/src/librustc_codegen_llvm/interfaces/type_.rs @@ -19,7 +19,7 @@ pub trait TypeMethods: Backend { fn type_i32(&self) -> Self::Type; fn type_i64(&self) -> Self::Type; fn type_i128(&self) -> Self::Type; - fn type_ix(&self, num_bites: u64) -> Self::Type; + fn type_ix(&self, num_bits: u64) -> Self::Type; fn type_f32(&self) -> Self::Type; fn type_f64(&self) -> Self::Type; fn type_x86_mmx(&self) -> Self::Type;