about summary refs log tree commit diff
diff options
context:
space:
mode:
authorlcnr <rust@lcnr.de>2022-02-21 13:56:35 +0100
committerGitHub <noreply@github.com>2022-02-21 13:56:35 +0100
commitba2e0ca6f0574d317fdbc7d228b0f621ca89ac9f (patch)
tree5c8b8ca50fa8a2d081b44ea218e00d336f05cacc
parent55f938b589e63ddc4683d5ca889f34be12aedd21 (diff)
downloadrust-ba2e0ca6f0574d317fdbc7d228b0f621ca89ac9f.tar.gz
rust-ba2e0ca6f0574d317fdbc7d228b0f621ca89ac9f.zip
typo
Co-authored-by: Rémy Rakic <remy.rakic+github@gmail.com>
-rw-r--r--compiler/rustc_middle/src/ty/fast_reject.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_middle/src/ty/fast_reject.rs b/compiler/rustc_middle/src/ty/fast_reject.rs
index 9118e5dba12..fa9e53b07f8 100644
--- a/compiler/rustc_middle/src/ty/fast_reject.rs
+++ b/compiler/rustc_middle/src/ty/fast_reject.rs
@@ -50,7 +50,7 @@ where
 
 #[derive(PartialEq, Eq, Debug, Clone, Copy)]
 pub enum TreatParams {
-    /// Treat parametes as bound types in the given environment.
+    /// Treat parameters as bound types in the given environment.
     ///
     /// For this to be correct the input has to be fully normalized
     /// in its param env as it may otherwise cause us to ignore