about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-10-02 18:24:36 +0200
committerGitHub <noreply@github.com>2019-10-02 18:24:36 +0200
commit475f5d4a5cf64af6a713b09907d2ffabb49b7fbe (patch)
treeb4ac200b48b279de27767452e98a44079efdfa8a
parent1c8ef985f2d710c4367ed6efc2fc7ffb43d45026 (diff)
parent738baa734b41b171514280dd0772398a70628083 (diff)
downloadrust-475f5d4a5cf64af6a713b09907d2ffabb49b7fbe.tar.gz
rust-475f5d4a5cf64af6a713b09907d2ffabb49b7fbe.zip
Rollup merge of #64961 - rust-lang:spastorino-patch-1, r=oli-obk
Make comment about dummy type a bit more clear
-rw-r--r--src/librustc/ty/mod.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/librustc/ty/mod.rs b/src/librustc/ty/mod.rs
index 4b9117f71be..d2dc07374ed 100644
--- a/src/librustc/ty/mod.rs
+++ b/src/librustc/ty/mod.rs
@@ -600,7 +600,8 @@ impl<'tcx> rustc_serialize::UseSpecializedDecodable for Ty<'tcx> {}
 pub type CanonicalTy<'tcx> = Canonical<'tcx, Ty<'tcx>>;
 
 extern {
-    /// A dummy type used to force `List` to by unsized without requiring fat pointers.
+    /// A dummy type used to force `List` to be unsized while not requiring references to it be wide
+    /// pointers.
     type OpaqueListContents;
 }