@@ -345,10 +345,8 @@ impl<'tcx, Tag: Copy, Extra: AllocationExtra<Tag>> Allocation<Tag, Extra> {
345345
346346 /// Reads a *non-ZST* scalar.
347347 ///
348- /// ZSTs can't be read for two reasons:
349- /// * byte-order cannot work with zero-element buffers;
350- /// * in order to obtain a `Pointer`, we need to check for ZSTness anyway due to integer
351- /// pointers being valid for ZSTs.
348+ /// ZSTs can't be read because in order to obtain a `Pointer`, we need to check
349+ /// for ZSTness anyway due to integer pointers being valid for ZSTs.
352350 ///
353351 /// It is the caller's responsibility to check bounds and alignment beforehand.
354352 /// Most likely, you want to call `InterpCx::read_scalar` instead of this method.
@@ -397,10 +395,8 @@ impl<'tcx, Tag: Copy, Extra: AllocationExtra<Tag>> Allocation<Tag, Extra> {
397395
398396 /// Writes a *non-ZST* scalar.
399397 ///
400- /// ZSTs can't be read for two reasons:
401- /// * byte-order cannot work with zero-element buffers;
402- /// * in order to obtain a `Pointer`, we need to check for ZSTness anyway due to integer
403- /// pointers being valid for ZSTs.
398+ /// ZSTs can't be read because in order to obtain a `Pointer`, we need to check
399+ /// for ZSTness anyway due to integer pointers being valid for ZSTs.
404400 ///
405401 /// It is the caller's responsibility to check bounds and alignment beforehand.
406402 /// Most likely, you want to call `InterpCx::write_scalar` instead of this method.
0 commit comments