about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2020-05-03 14:18:04 +0530
committerGitHub <noreply@github.com>2020-05-03 14:18:04 +0530
commit223194127ebad2b0793cd472da0200d17d29c919 (patch)
treedd0c1526f6ae0bc9715f1b061c1406a9b33bdefb
parent24e101c4182ac689dedade3ba8f9c842685c53f8 (diff)
parenta6915218672f3a929343df10c3a9e1059c9e8bf1 (diff)
downloadrust-223194127ebad2b0793cd472da0200d17d29c919.tar.gz
rust-223194127ebad2b0793cd472da0200d17d29c919.zip
Rollup merge of #71806 - lcnr:patch-3, r=jonas-schievink
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