diff options
| author | Oliver Scherer <github35764891676564198441@oli-obk.de> | 2019-06-19 11:20:38 +0200 |
|---|---|---|
| committer | Oliver Scherer <github35764891676564198441@oli-obk.de> | 2019-06-19 11:20:38 +0200 |
| commit | cd290c7ee9cc00413116f402823475ed5735293a (patch) | |
| tree | bb302f87e55efbf914799711057a1a65215f9020 /src | |
| parent | ce39fff66be0ef298927c75c69a36a841230129f (diff) | |
packed -> repr(packed)
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustc/mir/interpret/value.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/mir/interpret/value.rs b/src/librustc/mir/interpret/value.rs index 7fc1344533e..40e81119973 100644 --- a/src/librustc/mir/interpret/value.rs +++ b/src/librustc/mir/interpret/value.rs @@ -46,7 +46,7 @@ pub enum ConstValue<'tcx> { /// An allocation together with a pointer into the allocation. /// Invariant: the pointer's `AllocId` resolves to the allocation. /// The alignment exists to allow `const_field` to have `ByRef` access to nonprimitive fields - /// of packed structs. The alignment may be lower than the type of this constant. + /// of `repr(packed)` structs. The alignment may be lower than the type of this constant. /// This permits reads with lower alignment than what the type would normally require. /// FIXME(RalfJ,oli-obk): The alignment checks are part of miri, but const eval doesn't really /// need them. Disabling them may be too hard though. |
