about summary refs log tree commit diff
path: root/src/librustc_codegen_llvm/back/write.rs
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2018-08-21 01:20:25 +0800
committerkennytm <kennytm@gmail.com>2018-08-21 17:51:49 +0800
commitb5519db3236a94c1f090dcafaf38ef858ec33a26 (patch)
tree8dda85089b5fcfeaa4909389fa0777e6a908d4e0 /src/librustc_codegen_llvm/back/write.rs
parent0834a1aea7e35deef88981eb90b12d62b6886fd6 (diff)
parent71120ef1e5cb885ee45e6148970db6ce93ce1aca (diff)
downloadrust-b5519db3236a94c1f090dcafaf38ef858ec33a26.tar.gz
rust-b5519db3236a94c1f090dcafaf38ef858ec33a26.zip
Rollup merge of #53496 - matthiaskrgr:codespell_08_2018, r=varkor
Fix typos found by codespell.
Diffstat (limited to 'src/librustc_codegen_llvm/back/write.rs')
-rw-r--r--src/librustc_codegen_llvm/back/write.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc_codegen_llvm/back/write.rs b/src/librustc_codegen_llvm/back/write.rs
index b4027e0085a..80e9965e39c 100644
--- a/src/librustc_codegen_llvm/back/write.rs
+++ b/src/librustc_codegen_llvm/back/write.rs
@@ -328,7 +328,7 @@ struct AssemblerCommand {
 /// Additional resources used by optimize_and_codegen (not module specific)
 #[derive(Clone)]
 pub struct CodegenContext {
-    // Resouces needed when running LTO
+    // Resources needed when running LTO
     pub time_passes: bool,
     pub lto: Lto,
     pub no_landing_pads: bool,
@@ -596,7 +596,7 @@ unsafe fn optimize(cgcx: &CodegenContext,
                                      -C passes=name-anon-globals to the compiler command line.");
                 } else {
                     bug!("We are using thin LTO buffers without running the NameAnonGlobals pass. \
-                         This will likely cause errors in LLVM and shoud never happen.");
+                         This will likely cause errors in LLVM and should never happen.");
                 }
             }
         }