Skip to content

Commit

Permalink
Update reason for not using TypeId
Browse files Browse the repository at this point in the history
Reflect is no longer required as of rust-lang/rust#36995.
  • Loading branch information
dtolnay committed Dec 24, 2016
1 parent c37bfe2 commit 101e0d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/any.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use std::mem;

pub struct Any {
ptr: *mut (),
// Can't get a real TypeId because we don't have Reflect bounds on the
// Can't get a real TypeId because we don't have 'static bounds on the
// Serializer associates types, so settle for checking size_of and align_of.
fingerprint: Fingerprint,
}
Expand Down

0 comments on commit 101e0d7

Please sign in to comment.