diff options
| author | Gnome! <david2005thomas@Gmail.com> | 2024-02-20 19:12:42 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-20 19:12:42 +0000 |
| commit | aa25c481b77cb9e0ec25c6350d7ded110fae7f0e (patch) | |
| tree | ae02aef9cf97c4fbc533a33013e388efa4328c84 | |
| parent | c5aa659832334dca7cc9b27074bdc686b9650c12 (diff) | |
| download | rust-aa25c481b77cb9e0ec25c6350d7ded110fae7f0e.tar.gz rust-aa25c481b77cb9e0ec25c6350d7ded110fae7f0e.zip | |
Add extra detail to field comment
Co-authored-by: Nilstrieb <48135649+Nilstrieb@users.noreply.github.com>
| -rw-r--r-- | library/core/src/any.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/library/core/src/any.rs b/library/core/src/any.rs index 7efbabb7257..adc45038148 100644 --- a/library/core/src/any.rs +++ b/library/core/src/any.rs @@ -605,7 +605,8 @@ impl dyn Any + Send + Sync { #[derive(Clone, Copy, Debug, Eq, PartialOrd, Ord)] #[stable(feature = "rust1", since = "1.0.0")] pub struct TypeId { - // See #115620 for this representation. + // We avoid using `u128` because that imposes higher alignment requirements on many platforms. + // See issue #115620 for more information. t: (u64, u64), } |
