about summary refs log tree commit diff
path: root/compiler/rustc_trait_selection/src/traits/codegen.rs
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2022-03-31 04:57:28 +0200
committerGitHub <noreply@github.com>2022-03-31 04:57:28 +0200
commit1b7d6dbd3043a002279e9ebafc0b082f4d891200 (patch)
treec52a1a6ff3a746fa75dc69b5edd1a15c7dfcfaae /compiler/rustc_trait_selection/src/traits/codegen.rs
parentc90a94707f19c69a9ef5cecb016e08f771e5b294 (diff)
parent8d7b124c1f8d3ed8784b5c1a092c5d8016f6935a (diff)
downloadrust-1b7d6dbd3043a002279e9ebafc0b082f4d891200.tar.gz
rust-1b7d6dbd3043a002279e9ebafc0b082f4d891200.zip
Rollup merge of #95497 - nyurik:compiler-spell-comments, r=compiler-errors
Spellchecking compiler comments

This PR cleans up the rest of the spelling mistakes in the compiler comments. This PR does not change any literal or code spelling issues.
Diffstat (limited to 'compiler/rustc_trait_selection/src/traits/codegen.rs')
-rw-r--r--compiler/rustc_trait_selection/src/traits/codegen.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_trait_selection/src/traits/codegen.rs b/compiler/rustc_trait_selection/src/traits/codegen.rs
index 866bb6109e0..c76a6542ca1 100644
--- a/compiler/rustc_trait_selection/src/traits/codegen.rs
+++ b/compiler/rustc_trait_selection/src/traits/codegen.rs
@@ -42,8 +42,8 @@ pub fn codegen_fulfill_obligation<'tcx>(
             Ok(Some(selection)) => selection,
             Ok(None) => {
                 // Ambiguity can happen when monomorphizing during trans
-                // expands to some humongo type that never occurred
-                // statically -- this humongo type can then overflow,
+                // expands to some humongous type that never occurred
+                // statically -- this humongous type can then overflow,
                 // leading to an ambiguous result. So report this as an
                 // overflow bug, since I believe this is the only case
                 // where ambiguity can result.