about summary refs log tree commit diff
path: root/src/librustc_codegen_ssa
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2020-03-07 17:27:32 +0100
committerGitHub <noreply@github.com>2020-03-07 17:27:32 +0100
commit10f999b72d24fa181a3ec54fd21807b6a664e615 (patch)
tree17a54913e18979912f3e0297f61acaa193ba24e6 /src/librustc_codegen_ssa
parente6d4996a436497a0344eaba80615e3643389b89b (diff)
parent4c2b0f1631f40f7dce7292b3b3b4e2a752b82f7f (diff)
downloadrust-10f999b72d24fa181a3ec54fd21807b6a664e615.tar.gz
rust-10f999b72d24fa181a3ec54fd21807b6a664e615.zip
Rollup merge of #69773 - matthiaskrgr:typos, r=petrochenkov
fix various typos
Diffstat (limited to 'src/librustc_codegen_ssa')
-rw-r--r--src/librustc_codegen_ssa/back/write.rs2
-rw-r--r--src/librustc_codegen_ssa/traits/mod.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc_codegen_ssa/back/write.rs b/src/librustc_codegen_ssa/back/write.rs
index b313bf57d4a..3afa4758253 100644
--- a/src/librustc_codegen_ssa/back/write.rs
+++ b/src/librustc_codegen_ssa/back/write.rs
@@ -736,7 +736,7 @@ fn execute_work_item<B: ExtraBackendMethods>(
     }
 }
 
-// Actual LTO type we end up chosing based on multiple factors.
+// Actual LTO type we end up choosing based on multiple factors.
 enum ComputedLtoType {
     No,
     Thin,
diff --git a/src/librustc_codegen_ssa/traits/mod.rs b/src/librustc_codegen_ssa/traits/mod.rs
index b8afadaadef..d03ff8d4d37 100644
--- a/src/librustc_codegen_ssa/traits/mod.rs
+++ b/src/librustc_codegen_ssa/traits/mod.rs
@@ -8,7 +8,7 @@
 //! actual codegen, while the builder stores the information about the function during codegen and
 //! is used to produce the instructions of the backend IR.
 //!
-//! Finaly, a third `Backend` structure has to implement methods related to how codegen information
+//! Finally, a third `Backend` structure has to implement methods related to how codegen information
 //! is passed to the backend, especially for asynchronous compilation.
 //!
 //! The traits contain associated types that are backend-specific, such as the backend's value or