diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2018-08-19 15:30:23 +0200 |
|---|---|---|
| committer | Matthias Krüger <matthias.krueger@famsik.de> | 2018-08-19 17:41:28 +0200 |
| commit | 71120ef1e5cb885ee45e6148970db6ce93ce1aca (patch) | |
| tree | 9358c738c8943f0bc0b65303818237a801b8b0e1 /src/librustc_codegen_llvm/back | |
| parent | a9fe312b98d5a6b194c4ad1a17dcf258ba9941ea (diff) | |
| download | rust-71120ef1e5cb885ee45e6148970db6ce93ce1aca.tar.gz rust-71120ef1e5cb885ee45e6148970db6ce93ce1aca.zip | |
Fix typos found by codespell.
Diffstat (limited to 'src/librustc_codegen_llvm/back')
| -rw-r--r-- | src/librustc_codegen_llvm/back/write.rs | 4 |
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 b62836ec255..601999cb774 100644 --- a/src/librustc_codegen_llvm/back/write.rs +++ b/src/librustc_codegen_llvm/back/write.rs @@ -327,7 +327,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, @@ -595,7 +595,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."); } } } |
