about summary refs log tree commit diff
diff options
context:
space:
mode:
authorpierwill <19642016+pierwill@users.noreply.github.com>2020-12-23 13:08:15 -0800
committerGitHub <noreply@github.com>2020-12-23 13:08:15 -0800
commitdf94bfceb1e457f613d01d03f1f3f1c696d1c77f (patch)
tree1603166b76009ba943accfccac9a25ab5e422a8c
parente937ae9493d0ade1b0d3edd61d7cc32b91a363c1 (diff)
downloadrust-df94bfceb1e457f613d01d03f1f3f1c696d1c77f.tar.gz
rust-df94bfceb1e457f613d01d03f1f3f1c696d1c77f.zip
Fix typo
-rw-r--r--compiler/rustc_middle/src/ty/list.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_middle/src/ty/list.rs b/compiler/rustc_middle/src/ty/list.rs
index 83a2bdf90f9..e657088a5e4 100644
--- a/compiler/rustc_middle/src/ty/list.rs
+++ b/compiler/rustc_middle/src/ty/list.rs
@@ -24,7 +24,7 @@ extern "C" {
 /// This means we can use pointer for both
 /// equality comparisons and hashing.
 ///
-/// Unlike slices, The types contained in `List` are expected to be `Copy`
+/// Unlike slices, the types contained in `List` are expected to be `Copy`
 /// and iterating over a `List` returns `T` instead of a reference.
 ///
 /// Note: `Slice` was already taken by the `Ty`.