crosvm/data_model/src
Noah Gold b0e9842602 Update safety comments for DataInit.
Previously DataInit did not specify that any implementor `T` must not
contain implicit padding, though implementors of DataInit often include
a safety statement mentioning that they have no implicit padding. This
CL updates DataInit to clarify that any implementor must certify it has
no implicit padding to be safe / free of undefined behavior.

BUG=none
TEST=none (comment only change)

Change-Id: Ieddce51949bfa65de65a891deae071a744b0a4ef
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2439301
Reviewed-by: Zach Reizner <zachr@chromium.org>
Tested-by: kokoro <noreply+kokoro@google.com>
Commit-Queue: Noah Gold <nkgold@google.com>
2020-10-02 04:10:12 +00:00
..
endian.rs edition: Update absolute paths to 2018 style 2019-03-13 21:05:03 -07:00
flexible_array.rs crosvm: finish up flexible array wrapper 2020-10-02 03:28:07 +00:00
lib.rs Update safety comments for DataInit. 2020-10-02 04:10:12 +00:00
sys.rs sys_util: Fix all the default clippy warnings 2020-08-06 03:28:13 +00:00
volatile_memory.rs sys_util: Fix all the default clippy warnings 2020-08-06 03:28:13 +00:00