about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBastian Kauschke <bastian_kauschke@hotmail.de>2020-05-02 18:16:36 +0200
committerGitHub <noreply@github.com>2020-05-02 18:16:36 +0200
commita6915218672f3a929343df10c3a9e1059c9e8bf1 (patch)
treee15f493fea9983c1316642bf9d897f840d4e97c5
parent7184d137f65bb8d143ce8b5b664e50d33c4b5fbd (diff)
downloadrust-a6915218672f3a929343df10c3a9e1059c9e8bf1.tar.gz
rust-a6915218672f3a929343df10c3a9e1059c9e8bf1.zip
typo
-rw-r--r--src/librustc_infer/infer/nll_relate/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_infer/infer/nll_relate/mod.rs b/src/librustc_infer/infer/nll_relate/mod.rs
index 0fb926d9416..a2907e6e373 100644
--- a/src/librustc_infer/infer/nll_relate/mod.rs
+++ b/src/librustc_infer/infer/nll_relate/mod.rs
@@ -657,7 +657,7 @@ where
             // Reset the ambient variance to covariant. This is needed
             // to correctly handle cases like
             //
-            //     for<'a> fn(&'a u32, &'a u3) == for<'b, 'c> fn(&'b u32, &'c u32)
+            //     for<'a> fn(&'a u32, &'a u32) == for<'b, 'c> fn(&'b u32, &'c u32)
             //
             // Somewhat surprisingly, these two types are actually
             // **equal**, even though the one on the right looks more