diff options
| author | bors <bors@rust-lang.org> | 2020-03-24 00:53:25 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-03-24 00:53:25 +0000 |
| commit | 342c5f33d097b2dc07a2dbc0ca45a37379d2ff60 (patch) | |
| tree | dec00a25ca9ef0998971e97d3cc753460528c0d6 /src/libcore | |
| parent | c55c682e9ba2be16d5de4264d1b626e70f00de9d (diff) | |
| parent | 3b8872d76de4def293b0bce5a5ad737ccaab7d3d (diff) | |
| download | rust-342c5f33d097b2dc07a2dbc0ca45a37379d2ff60.tar.gz rust-342c5f33d097b2dc07a2dbc0ca45a37379d2ff60.zip | |
Auto merge of #70343 - Centril:rollup-94egfvs, r=Centril
Rollup of 11 pull requests Successful merges: - #67761 (Move the dep_graph construction to a dedicated crate.) - #69740 (Replace some desc logic in librustc_lint with article_and_desc) - #69981 (Evaluate repeat expression lengths as late as possible) - #70087 (Remove const eval loop detector) - #70242 (Improve E0308 error message wording) - #70264 (Fix invalid suggestion on `&mut` iterators yielding `&` references) - #70267 (get rid of ConstPropUnsupported; use ZST marker structs instead) - #70277 (Remove `ReClosureBound`) - #70283 (Add regression test for #70155.) - #70294 (Account for bad placeholder types in where clauses) - #70309 (Clean up E0452 explanation) Failed merges: r? @ghost
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/any.rs | 2 |
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. |
