about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2020-03-22 11:41:07 +0100
committerRalf Jung <post@ralfj.de>2020-03-22 12:16:24 +0100
commit82f4a1a9b98ef7f16b25de44150d004c3b1b528a (patch)
tree449668a65f8bed64d681cc2bcce924d6ce55d0bf /src/libcore
parent5574b1df577f737373b42cbf364b6cab2dfa5960 (diff)
downloadrust-82f4a1a9b98ef7f16b25de44150d004c3b1b528a.tar.gz
rust-82f4a1a9b98ef7f16b25de44150d004c3b1b528a.zip
get rid of ConstPropUnsupported; use ZST marker structs instead
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/any.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/any.rs b/src/libcore/any.rs
index 97ef513cbcc..39df803bbea 100644
--- a/src/libcore/any.rs
+++ b/src/libcore/any.rs
@@ -164,7 +164,7 @@ impl dyn Any {
         // Get `TypeId` of the type this function is instantiated with.
         let t = TypeId::of::<T>();
 
-        // Get `TypeId` of the type in the trait object.
+        // Get `TypeId` of the type in the trait object (`self`).
         let concrete = self.type_id();
 
         // Compare both `TypeId`s on equality.